diff options
-rw-r--r-- | .config/nvim/lua/binds.lua | 4 | ||||
-rw-r--r-- | .vim/vimrc | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/lua/binds.lua b/.config/nvim/lua/binds.lua index 0e7ae96..7b5d3fe 100644 --- a/.config/nvim/lua/binds.lua +++ b/.config/nvim/lua/binds.lua @@ -24,6 +24,10 @@ map('n', '<leader>h', ':wincmd h<CR>', opts) map('n', '<leader>j', ':wincmd j<CR>', opts) map('n', '<leader>k', ':wincmd k<CR>', opts) map('n', '<leader>l', ':wincmd l<CR>', opts) +map('n', '<leader><left>', ':wincmd h<CR>', opts) +map('n', '<leader><down>', ':wincmd j<CR>', opts) +map('n', '<leader><up>', ':wincmd k<CR>', opts) +map('n', '<leader><right>', ':wincmd l<CR>', opts) map('n', '<leader>p', '<cmd>Telescope find_files<cr>', opts) map('n', '<leader>P', '<cmd>Telescope file_browser hidden=true<cr>', opts) @@ -59,6 +59,10 @@ nnoremap <leader>h :wincmd h<CR> nnoremap <leader>j :wincmd j<CR> nnoremap <leader>k :wincmd k<CR> nnoremap <leader>l :wincmd l<CR> +nnoremap <leader><left> :wincmd h<CR> +nnoremap <leader><down> :wincmd j<CR> +nnoremap <leader><up> :wincmd k<CR> +nnoremap <leader><right> :wincmd l<CR> let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum" let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum" |