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