From 0b837ee1f01423b7b7d435fb6483b986c206b301 Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Fri, 22 Oct 2021 17:04:46 +0200 Subject: vim + nvim cleanup, UltiSnip -> LuaSnip --- .config/nvim/lua/binds.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to '.config/nvim/lua/binds.lua') 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', '[', '[u', opts) map('i', '!', '!u', opts) map('i', '?', '?u', opts) -map('v', '', ":m '>+1gv=gv", opts) -map('v', '', ":m '<-2gv=gv", opts) +map('v', 'J', ":m '>+1gv=gv", opts) +map('v', 'K', ":m '<-2gv=gv", opts) map('n', 'h', ':wincmd h', opts) map('n', 'j', ':wincmd j', opts) map('n', 'k', ':wincmd k', opts) map('n', 'l', ':wincmd l', opts) -map('n', '', ':NvimTreeToggle', opts) -map('n', 'n', ':NvimTreeFindFile', opts) - map('n', '', 'Telescope find_files', opts) map('n', 'fg', 'Telescope live_grep', opts) map('n', 'fb', 'Telescope buffers', opts) -- cgit v1.2.3-70-g09d2