diff options
author | Johannes Ranke <johannes.ranke@jrwb.de> | 2024-12-07 08:48:56 +0100 |
---|---|---|
committer | Johannes Ranke <johannes.ranke@jrwb.de> | 2024-12-07 08:48:56 +0100 |
commit | 12253d3e7c209f6aa77fe58e95a644eb355e1548 (patch) | |
tree | 28eec5029716e38ce2decda13b6da02f3bfc658b /nvim/lua/plugins/misc.lua | |
parent | 7574a02db9487ca02b15d17d01066c5d5ea8f83c (diff) |
Configure airline et al., remap <Leader> to backslashnvim-lua
Having <Space> as a <Leader> lead to a large lag (known for neovim
with the configuration).
Diffstat (limited to 'nvim/lua/plugins/misc.lua')
-rw-r--r-- | nvim/lua/plugins/misc.lua | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/nvim/lua/plugins/misc.lua b/nvim/lua/plugins/misc.lua index 431bece..7292e3f 100644 --- a/nvim/lua/plugins/misc.lua +++ b/nvim/lua/plugins/misc.lua @@ -1,8 +1,5 @@ return { - -- airline - { "vim-airline/vim-airline" }, - { "vim-airline/vim-airline-themes" }, - + -- pandoc { "vim-pandoc/vim-pandoc" }, { "vim-pandoc/vim-pandoc-syntax" }, @@ -16,7 +13,12 @@ return { -- Version control { "tpope/vim-fugitive" }, { "airblade/vim-gitgutter" }, - { "samoshkin/vim-mergetool" }, + { "samoshkin/vim-mergetool", + init = function() + vim.g.mergetool_layout = 'mr' + vim.g.mergetool_prefer_revision = 'local' + end, + }, -- Show an manage marks { "kshenoy/vim-signature" }, @@ -25,6 +27,18 @@ return { { "jasonccox/vim-wayland-clipboard" }, -- vimcmdline - { "jalvesaq/vimcmdline" }, + { "jalvesaq/vimcmdline", + init = function() + vim.b.cmdline_map_start = '<LocalLeader>s' + end, + }, + + -- fzf + { "junegunn/fzf" }, + + -- Look up docs in vim scripts with 'K' + { "tpope/vim-scriptease" }, + -- Delete trailing whitespace + { "vim-scripts/DeleteTrailingWhitespace" } } |