chore: backup nixos configs 📌
This commit is contained in:
parent
f4f57b8142
commit
7107459300
3 changed files with 52 additions and 17 deletions
|
|
@ -14,24 +14,41 @@
|
|||
|
||||
colorscheme gruvbox
|
||||
|
||||
set listchars=tab:→\ ,space:·,nbsp:␣,trail:•,eol:¶,precedes:«,extends:»
|
||||
set clipboard+=unnamedplus
|
||||
" relative line numbering when leaving insert mode
|
||||
set relativenumber
|
||||
autocmd InsertEnter * :set number norelativenumber
|
||||
autocmd InsertLeave * :set nonumber relativenumber
|
||||
|
||||
" Replace-all is aliased to S.
|
||||
" netrw (dir listing) settings
|
||||
let g:netrw_liststyle = 3
|
||||
let g:netrw_banner = 0
|
||||
let g:netrw_browse_split = 3
|
||||
let g:netrw_winsize = 25 " % of page
|
||||
|
||||
set listchars=tab:→\ ,space:·,nbsp:␣,trail:•,eol:¶,precedes:«,extends:»
|
||||
set clipboard+=unnamedplus
|
||||
|
||||
" Replace-all is aliased to S.
|
||||
nnoremap S :%s//g<Left><Left>
|
||||
|
||||
" spellcheck
|
||||
set spell spelllang=en_us
|
||||
setlocal spell! spelllang=en_us
|
||||
'';
|
||||
# vimPlugins inspired from Alexnortung
|
||||
# https://discourse.nixos.org/t/neovim-no-longer-uses-config-or-plugins/13399/4
|
||||
packages.nix = with pkgs.vimPlugins; {
|
||||
start = [
|
||||
vim-surround # Shortcuts for setting () {} etc.
|
||||
vim-surround # shortcuts for setting () {} etc.
|
||||
# coc-nvim coc-git coc-highlight coc-python coc-rls coc-vetur coc-vimtex coc-yaml coc-html coc-json # auto completion
|
||||
vim-nix # nix highlight
|
||||
vimtex # latex stuff
|
||||
fzf-vim # fuzzy finder through vim
|
||||
nerdtree # file structure inside nvim
|
||||
rainbow # Color parenthesis
|
||||
gruvbox-nvim # theme
|
||||
vim-nix # nix highlight
|
||||
vimtex # latex stuff
|
||||
fzf-vim # fuzzy finder through vim
|
||||
nerdtree # file structure inside nvim
|
||||
rainbow # color parenthesis
|
||||
gruvbox-nvim # theme
|
||||
goyo-vim # write prose
|
||||
limelight-vim # prose paragraph highlighter
|
||||
];
|
||||
opt = [];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue