Skip to content

njcom/hjkl-remap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

vim-hjkl

Vim (and Neovim) plugin to remap h, j, k, l to more natural j, k, l, ;. It changes default Vim's keybindings to the following:

  • Up: l
  • Down: k
  • Left: j
  • Right: ;
  • To window above (up) current one: Ctrl + w l
  • To window below (down) current one: Ctrl + w k
  • To window left of current one: Ctrl + w j
  • To window right of current one: Ctrl + w ;
  • Find next char for f or t: '

📦 Installation

Install the plugin with your preferred package manager:

  • Using lazy.nvim in Neovim:
    require('lazy').setup({
        'njcom/hjkl-remap',
    })
    
  • Using Plug in Neovim or Vim:
    Plug 'njcom/hjkl-remap'
    

⚙️ Configuration

No configuration is required.

Usage

Just use the mentioned above keys.