vim: update vimrc a bit
This commit is contained in:
parent
fdd0d214a1
commit
1605c6a0a0
1 changed files with 3 additions and 16 deletions
|
@ -82,18 +82,7 @@ pkgs.mkShell {
|
|||
# run this on start
|
||||
# -----------------
|
||||
shellHook = ${"''"}
|
||||
|
||||
HISTFILE=${"$"}{toString ./.}/.history
|
||||
|
||||
# run jailed zsh shell
|
||||
# ----------------
|
||||
exec firejail \
|
||||
--env=JAIL=jail \
|
||||
--blacklist="/run/keys" \
|
||||
--blacklist="/run/keys*" \
|
||||
--private=${"$"}{toString ./.} \
|
||||
${"$"}{pkgs.zsh}/bin/zsh
|
||||
|
||||
${"''"};
|
||||
}
|
||||
|
||||
|
@ -319,14 +308,9 @@ profile = ${"''"}
|
|||
vimPlugins.Syntastic
|
||||
vimPlugins.ack-vim
|
||||
vimPlugins.airline
|
||||
vimPlugins.elm-vim
|
||||
vimPlugins.rust-vim
|
||||
vimPlugins.vim-elixir
|
||||
vimPlugins.vim-nix
|
||||
vimPlugins.xptemplate
|
||||
vimPlugins.dhall-vim
|
||||
vim-tv-plugin
|
||||
# vimPlugins.LanguageClient-neovim
|
||||
];
|
||||
|
||||
# the vimrc
|
||||
|
@ -384,6 +368,9 @@ profile = ${"''"}
|
|||
autocmd BufWinEnter * silent loadview
|
||||
augroup END
|
||||
|
||||
" some language stuff
|
||||
" -------------------
|
||||
:map <leader>s :setlocal spell spelllang=en
|
||||
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue