From 14118b5959fa7b42f2a1e983b4a22124ad59052d Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sat, 6 Nov 2021 13:11:24 +0100 Subject: Added vim telescope mappings and Ctrl-j/k to navigate command history mappings --- config/nvim/lua/mappings.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config/nvim/lua/mappings.lua') diff --git a/config/nvim/lua/mappings.lua b/config/nvim/lua/mappings.lua index e37968a..566b647 100644 --- a/config/nvim/lua/mappings.lua +++ b/config/nvim/lua/mappings.lua @@ -18,6 +18,10 @@ map('n', 's=', '=', {}) map('n', ' /', '/\v', {}) map('n', ' ?', '?\v', {}) +-- ctrl-j/k to navigate commands history +map('c', '', '', {}) +map('c', '', '', {}) + -- -- hook -- -- remove trailing white space on save -- autocmd vimrc BufWritePre * %s/\s\+$//e @@ -47,3 +51,7 @@ map('n', 'ga', ':EasyAlign', {}) -- nnoremap h :SidewaysLeft -- nnoremap w :ArgWrap -- nnoremap ss :setlocal spell! + +map('n', '', ':Telescope git_files', {}) +map('n', '', ':Telescope help_tags', {}) + -- cgit