Compare commits
4 Commits
6c91704f33
...
2d135b743c
Author | SHA1 | Date | |
---|---|---|---|
|
2d135b743c | ||
|
cbd9541696 | ||
|
d83abddfcd | ||
|
e78349674e |
@ -20,6 +20,8 @@
|
||||
cmake-format
|
||||
clang-tools
|
||||
rustfmt
|
||||
nixfmt
|
||||
shfmt
|
||||
];
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
vim-nix
|
||||
@ -38,9 +40,11 @@
|
||||
cmp-nvim-lsp
|
||||
(nvim-treesitter.withPlugins (_: pkgs.tree-sitter.allGrammars))
|
||||
nvim-treesitter-textobjects
|
||||
minimap-vim
|
||||
|
||||
pkgs.vimExtraPlugins.leap-nvim
|
||||
];
|
||||
|
||||
|
||||
extraConfig = ''
|
||||
" syntax
|
||||
syntax enable
|
||||
@ -53,7 +57,7 @@
|
||||
set wildmode=longest:full,full
|
||||
|
||||
" remapping popup menu (command autocompletion)
|
||||
cnoremap <expr> <up> pumvisible() ? "<C-p>" : "<up>
|
||||
cnoremap <expr> <up> pumvisible() ? "<C-p>" : "<up>"
|
||||
cnoremap <expr> <down> pumvisible() ? "<C-n>" : "<down>"
|
||||
cnoremap <expr> <CR> pumvisible() ? "<C-e>":"<CR>"
|
||||
|
||||
@ -80,6 +84,11 @@
|
||||
" Enable trimmming of trailing whitespace
|
||||
let g:neoformat_basic_format_trim = 1
|
||||
|
||||
" Config minimap
|
||||
let g:minimap_width = 10
|
||||
let g:minimap_auto_start = 1
|
||||
let g:minimap_auto_start_win_enter = 1
|
||||
|
||||
lua << EOF
|
||||
|
||||
-- Setup leap-nvim keymappings
|
||||
|
Loading…
Reference in New Issue
Block a user