diff options
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/lua/mappings.lua | 4 | ||||
-rw-r--r-- | .config/nvim/lua/plugins.lua | 2 | ||||
-rw-r--r-- | .config/nvim/lua/settings.lua | 2 |
3 files changed, 0 insertions, 8 deletions
diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua index ad40879..fed06d9 100644 --- a/.config/nvim/lua/mappings.lua +++ b/.config/nvim/lua/mappings.lua | |||
@@ -51,10 +51,6 @@ map('n', '<Leader>fp', ":set formatprg=~/.local/bin/sentences<CR>", { silent = f | |||
51 | map('n', 'S', ':%s//g<Left><Left>', { silent = false }) | 51 | map('n', 'S', ':%s//g<Left><Left>', { silent = false }) |
52 | map('v', 'S', ':s//g<Left><Left>', { silent = false }) | 52 | map('v', 'S', ':s//g<Left><Left>', { silent = false }) |
53 | 53 | ||
54 | -- if you like "Y" to work from the cursor to the end of line (which is more | ||
55 | -- logical, but not Vi-compatible) | ||
56 | map('n', 'Y', 'y$', { noremap = false }) | ||
57 | |||
58 | -- jump to buffer | 54 | -- jump to buffer |
59 | map('n', '<Leader>b', ':ls<cr>:b<space>') | 55 | map('n', '<Leader>b', ':ls<cr>:b<space>') |
60 | 56 | ||
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 2bb5269..186b04a 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua | |||
@@ -100,8 +100,6 @@ return require('packer').startup(function() | |||
100 | use 'matze/vim-move' | 100 | use 'matze/vim-move' |
101 | -- surround text objects; sa, sr and sd | 101 | -- surround text objects; sa, sr and sd |
102 | use 'machakann/vim-sandwich' | 102 | use 'machakann/vim-sandwich' |
103 | -- visual feedback for substitute holy shit this is amazing | ||
104 | use 'markonm/traces.vim' | ||
105 | -- see the contents of registers on "/<CTRL-R> | 103 | -- see the contents of registers on "/<CTRL-R> |
106 | use 'junegunn/vim-peekaboo' | 104 | use 'junegunn/vim-peekaboo' |
107 | -- use <leader>k to highlight multiple words) | 105 | -- use <leader>k to highlight multiple words) |
diff --git a/.config/nvim/lua/settings.lua b/.config/nvim/lua/settings.lua index f092253..db112af 100644 --- a/.config/nvim/lua/settings.lua +++ b/.config/nvim/lua/settings.lua | |||
@@ -68,8 +68,6 @@ o.relativenumber = true | |||
68 | o.showmode = false | 68 | o.showmode = false |
69 | -- jump to the matching bracket briefly | 69 | -- jump to the matching bracket briefly |
70 | o.showmatch = true | 70 | o.showmatch = true |
71 | -- move freely between buffers | ||
72 | o.hidden = true | ||
73 | 71 | ||
74 | -- persistent undo | 72 | -- persistent undo |
75 | o.undofile = true | 73 | o.undofile = true |