diff options
Diffstat (limited to '.config/nvim')
| -rw-r--r-- | .config/nvim/lua/plugin_settings.lua | 4 | ||||
| -rw-r--r-- | .config/nvim/lua/plugins.lua | 3 | ||||
| -rw-r--r-- | .config/nvim/lua/settings.lua | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua index 6b02db4..3f49472 100644 --- a/.config/nvim/lua/plugin_settings.lua +++ b/.config/nvim/lua/plugin_settings.lua | |||
| @@ -779,3 +779,7 @@ nvim_tree_events.subscribe('TreeClose', function() | |||
| 779 | end) | 779 | end) |
| 780 | 780 | ||
| 781 | -- }}} barbar.nvim -- | 781 | -- }}} barbar.nvim -- |
| 782 | |||
| 783 | -- which-key {{{ -- | ||
| 784 | require("which-key").setup {} | ||
| 785 | -- }}} which-key -- | ||
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index ec03289..6af54ee 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua | |||
| @@ -61,6 +61,9 @@ return require('packer').startup(function(use) | |||
| 61 | } | 61 | } |
| 62 | use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make' } | 62 | use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make' } |
| 63 | 63 | ||
| 64 | -- display a popup with possible keybinds | ||
| 65 | use "folke/which-key.nvim" | ||
| 66 | |||
| 64 | -- git integration for buffers | 67 | -- git integration for buffers |
| 65 | use { | 68 | use { |
| 66 | 'lewis6991/gitsigns.nvim', | 69 | 'lewis6991/gitsigns.nvim', |
diff --git a/.config/nvim/lua/settings.lua b/.config/nvim/lua/settings.lua index c874aae..b99eda7 100644 --- a/.config/nvim/lua/settings.lua +++ b/.config/nvim/lua/settings.lua | |||
| @@ -65,6 +65,8 @@ o.relativenumber = true | |||
| 65 | o.showmode = false | 65 | o.showmode = false |
| 66 | -- jump to the matching bracket briefly | 66 | -- jump to the matching bracket briefly |
| 67 | o.showmatch = true | 67 | o.showmatch = true |
| 68 | -- wait 500 ms for a mapped sequence to complete | ||
| 69 | o.timeoutlen = 500 | ||
| 68 | 70 | ||
| 69 | -- persistent undo | 71 | -- persistent undo |
| 70 | o.undofile = true | 72 | o.undofile = true |
