summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/binds.lua
diff options
context:
space:
mode:
authorAdam <adam.moloney.stuck@gmail.com>2021-10-22 17:04:46 +0200
committeradamstuck <adam.moloney.stuck@gmail.com>2021-10-22 17:12:31 +0200
commitc5903b603f4163f246d0e7f18d6eb588a8123107 (patch)
treefede70b2cd2bff28555137ca841f5dcd83a7a440 /.config/nvim/lua/binds.lua
parente752b4f815d519063872296b10a3644a30587541 (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)