From f58a55717e2d04af5ad0372cb0eb292f4fa61d3c Mon Sep 17 00:00:00 2001 From: srdusr Date: Sat, 4 Feb 2023 23:57:35 +0200 Subject: Squashed '.config/nvim/' changes from 23457da..193f3c2 193f3c2 Enable plugins.modify-blend d957520 Changed relative option = 'cursor' in local win function 6789d92 Commented out various lines 45b6b32 Changed colorscheme to nightfly b5a7704 Changed packer keybindings to then Capital P and whatever corresponding key needed f678a1e Commented out plugins.modify-blend bfad445 Add max_jobs option e95ddcb Changed relative option = 'cursor' in local win function e934c6e Add anchor = 'NE' option to local win e637ecf Moved timelength option to opts.lua 0743806 Moved timelenght option to opts.lua b848312 Commented out 'last search pattern' git-subtree-dir: .config/nvim git-subtree-split: 193f3c2c8f64118403ffde24bb1ce5e6d314409d --- lua/user/keys.lua | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'lua/user/keys.lua') diff --git a/lua/user/keys.lua b/lua/user/keys.lua index f01a0c5..8feee85 100644 --- a/lua/user/keys.lua +++ b/lua/user/keys.lua @@ -152,7 +152,7 @@ map("n", "cd", ":cd %:p:h:pwd") map('n', 'o', ':!xdg-open %') -- Unsets the 'last search pattern' register by hitting return -map("n", "", "!silent :noh") +--map("n", "", "!silent :noh") -- Toggle completion map("n", "tc", ":lua require('user.utils').toggle_completion()") @@ -266,11 +266,11 @@ map("n", "", ":call OpenLastClosed() ") ---------------- Plugin Operations ---------------- -- Packer -map("n", "pc", "PackerCompile") -map("n", "pi", "PackerInstall") -map("n", "ps", "PackerSync") -map("n", "pS", "PackerStatus") -map("n", "pu", "PackerUpdate") +map("n", "Pc", "PackerCompile") +map("n", "Pi", "PackerInstall") +map("n", "Ps", "PackerSync") +map("n", "PS", "PackerStatus") +map("n", "Pu", "PackerUpdate") -- Tmux navigation (aserowy/tmux.nvim) map('n', '', 'NavigatorLeft') @@ -358,23 +358,23 @@ end map("n", "ww", ":lua Toggle_autopairs()", term_opts) -- Tabularize -vim.cmd([[ - vnoremap mm ':Tabularize /^\s*\S.*\zs' . split(&commentstring, '%s')[0] . "" - nnoremap mm ':Tabularize /^\s*\S.*\zs' . split(&commentstring, '%s')[0] . "" - "nnoremap i mc40A 080lDgelD`cP - "vnoremap ii mc0f-20i`cdt=j -]]) +--vim.cmd([[ +-- vnoremap mm ':Tabularize /^\s*\S.*\zs' . split(&commentstring, '%s')[0] . "" +-- nnoremap mm ':Tabularize /^\s*\S.*\zs' . split(&commentstring, '%s')[0] . "" +-- "nnoremap i mc40A 080lDgelD`cP +-- "vnoremap ii mc0f-20i`cdt=j +--]]) -- EasyAlign -vim.cmd([[ - " Start interactive EasyAlign in visual mode (e.g. vipga) - xmap ga (EasyAlign) - " Start interactive EasyAlign for a motion/text object (e.g. gaip) - nmap ga (EasyAlign) - if !exists('g:easy_align_delimiters') - let g:easy_align_delimiters = {} - endif - let g:easy_align_delimiters['--'] = { 'pattern': '--', 'ignore_groups': ['String'] } - nnoremap 21A d21\| - imap a -]]) +--vim.cmd([[ +-- " Start interactive EasyAlign in visual mode (e.g. vipga) +-- xmap ga (EasyAlign) +-- " Start interactive EasyAlign for a motion/text object (e.g. gaip) +-- nmap ga (EasyAlign) +-- if !exists('g:easy_align_delimiters') +-- let g:easy_align_delimiters = {} +-- endif +-- let g:easy_align_delimiters['--'] = { 'pattern': '--', 'ignore_groups': ['String'] } +-- nnoremap 21A d21\| +-- imap a +--]]) -- cgit v1.2.3