summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/lua/opts.lua2
-rw-r--r--.config/nvim/lua/plugins.lua1
-rw-r--r--.config/nvim/lua/setup.lua1
3 files changed, 3 insertions, 1 deletions
diff --git a/.config/nvim/lua/opts.lua b/.config/nvim/lua/opts.lua
index 7750921..259f460 100644
--- a/.config/nvim/lua/opts.lua
+++ b/.config/nvim/lua/opts.lua
@@ -68,3 +68,5 @@ require'nvim-treesitter.configs'.setup {
enable = true,
},
}
+
+require('kommentary.config').use_extended_mappings()
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua
index 2866afe..afcfa5d 100644
--- a/.config/nvim/lua/plugins.lua
+++ b/.config/nvim/lua/plugins.lua
@@ -12,6 +12,7 @@ return require('packer').startup(function()
use 'kyazdani42/nvim-web-devicons'
use 'norcalli/nvim-colorizer.lua'
+ use 'b3nj5m1n/kommentary'
use {
'nvim-telescope/telescope.nvim',
diff --git a/.config/nvim/lua/setup.lua b/.config/nvim/lua/setup.lua
index ae460e7..f6e0d6e 100644
--- a/.config/nvim/lua/setup.lua
+++ b/.config/nvim/lua/setup.lua
@@ -18,7 +18,6 @@ set.autoindent = true
set.expandtab = true
set.showmode = false
set.ruler = false
-set.cmdheight = 2
set.timeout = false
set.ttimeoutlen = 200