summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/binds.lua
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-10-22 17:04:46 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2021-10-22 17:04:46 +0200
commit0b837ee1f01423b7b7d435fb6483b986c206b301 (patch)
tree7b3e2b03965a18a4515927e3b3c4b25926fe62c5 /.config/nvim/lua/binds.lua
parente54cb7adee065550ab01ca12f45710477938cbb3 (diff)
vim + nvim cleanup, UltiSnip -> LuaSnip
Diffstat (limited to '.config/nvim/lua/binds.lua')
-rw-r--r--.config/nvim/lua/binds.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/.config/nvim/lua/binds.lua b/.config/nvim/lua/binds.lua
index 40d9a83..2e6ca70 100644
--- a/.config/nvim/lua/binds.lua
+++ b/.config/nvim/lua/binds.lua
@@ -17,17 +17,14 @@ map('i', '[', '[<c-g>u', opts)
map('i', '!', '!<c-g>u', opts)
map('i', '?', '?<c-g>u', opts)
-map('v', '<A-j>', ":m '>+1<CR>gv=gv", opts)
-map('v', '<A-k>', ":m '<-2<CR>gv=gv", opts)
+map('v', 'J', ":m '>+1<CR>gv=gv", opts)
+map('v', 'K', ":m '<-2<CR>gv=gv", opts)
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', '<C-n>', ':NvimTreeToggle<CR>', opts)
-map('n', '<leader>n', ':NvimTreeFindFile<CR>', opts)
-
map('n', '<C-p>', '<cmd>Telescope find_files<cr>', opts)
map('n', '<leader>fg', '<cmd>Telescope live_grep<cr>', opts)
map('n', '<leader>fb', '<cmd>Telescope buffers<cr>', opts)