keybind
This commit is contained in:
parent
4add80eb6a
commit
eb7cd2808d
|
@ -40,9 +40,6 @@ keymap('n', '<Leader>d', ':Telescope diagnostics<CR>', default_ops)
|
|||
keymap('n', '<Leader>h', ':Telescope neoclip<CR>', default_ops)
|
||||
keymap('n', '<Leader>fb', ':Telescope file_browser hidden=true<CR>', default_ops)
|
||||
|
||||
-- Buffers
|
||||
keymap('n', '<Leader>b', ':JABSOpen<CR>', default_ops)
|
||||
|
||||
-- Shift up and down
|
||||
keymap("v", "J", ":m '>+1<CR>gv=gv", default_ops)
|
||||
keymap("v", "K", ":m '<-2<CR>gv=gv", default_ops)
|
||||
|
@ -60,3 +57,6 @@ keymap("n", "<leader>Y", [["+Y]], default_ops)
|
|||
|
||||
-- Replace the word the cursor is currently on
|
||||
keymap("n", "<leader>s", [[:%s/\<<C-r><C-w>\>/<C-r><C-w>/gI<Left><Left><Left>]], default_ops)
|
||||
|
||||
-- Git
|
||||
keymap('n', '<Leader>gg', ':LazyGit', default_ops)
|
||||
|
|
Loading…
Reference in New Issue