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 # run this on start
# ----------------- # -----------------
shellHook = ${"''"} shellHook = ${"''"}
HISTFILE=${"$"}{toString ./.}/.history 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.Syntastic
vimPlugins.ack-vim vimPlugins.ack-vim
vimPlugins.airline vimPlugins.airline
vimPlugins.elm-vim
vimPlugins.rust-vim
vimPlugins.vim-elixir
vimPlugins.vim-nix vimPlugins.vim-nix
vimPlugins.xptemplate vimPlugins.xptemplate
vimPlugins.dhall-vim
vim-tv-plugin vim-tv-plugin
# vimPlugins.LanguageClient-neovim
]; ];
# the vimrc # the vimrc
@ -384,6 +368,9 @@ profile = ${"''"}
autocmd BufWinEnter * silent loadview autocmd BufWinEnter * silent loadview
augroup END augroup END
" some language stuff
" -------------------
:map <leader>s :setlocal spell spelllang=en
''; '';