summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua
diff options
context:
space:
mode:
authorYigit Sever2022-12-17 17:56:55 +0300
committerYigit Sever2022-12-17 17:56:55 +0300
commit8ad6b17614c91bbdf3120324b7176890f1504c2d (patch)
treefe533642c09de1926f5f28063bfdd8eefeb69db4 /.config/nvim/lua
parent2ef2c8d8d3aab7079d7d27a134a4fc6ee20fde0c (diff)
downloaddotfiles-8ad6b17614c91bbdf3120324b7176890f1504c2d.tar.gz
dotfiles-8ad6b17614c91bbdf3120324b7176890f1504c2d.tar.bz2
dotfiles-8ad6b17614c91bbdf3120324b7176890f1504c2d.zip
feat(nvim): use plugin which-key
Diffstat (limited to '.config/nvim/lua')
-rw-r--r--.config/nvim/lua/plugin_settings.lua4
-rw-r--r--.config/nvim/lua/plugins.lua3
-rw-r--r--.config/nvim/lua/settings.lua2
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()
779end) 779end)
780 780
781-- }}} barbar.nvim -- 781-- }}} barbar.nvim --
782
783-- which-key {{{ --
784require("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
65o.showmode = false 65o.showmode = false
66-- jump to the matching bracket briefly 66-- jump to the matching bracket briefly
67o.showmatch = true 67o.showmatch = true
68-- wait 500 ms for a mapped sequence to complete
69o.timeoutlen = 500
68 70
69-- persistent undo 71-- persistent undo
70o.undofile = true 72o.undofile = true