vim: update vimrc a bit

This commit is contained in:
Ingolf Wagner 2019-11-21 12:38:29 +13:00
parent fdd0d214a1
commit 1605c6a0a0
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -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
'';