Basic vim config ported
This commit is contained in:
parent
27774c6330
commit
d17f73dd06
3 changed files with 35 additions and 6 deletions
3
.vimrc.nixos
Executable file
3
.vimrc.nixos
Executable file
|
@ -0,0 +1,3 @@
|
|||
source ~/dev/dotfiles/.vimrc.plugins-settings
|
||||
source ~/dev/dotfiles/.vimrc.settings
|
||||
source ~/dev/dotfiles/.vimrc.keymap
|
|
@ -74,6 +74,38 @@
|
|||
shellAliases = { tmate = "tmux detach-client -E 'tmate;tmux'"; cat = "bat"; };
|
||||
};
|
||||
|
||||
|
||||
vim = {
|
||||
enable = true;
|
||||
extraConfig = builtins.readFile ~/dev/dotfiles/.vimrc.nixos;
|
||||
plugins = [
|
||||
"vim-gitgutter"
|
||||
"vim-toml"
|
||||
"vim-autoformat"
|
||||
"editorconfig-vim"
|
||||
"tabular"
|
||||
"vim-colors-solarized"
|
||||
"fzf-vim"
|
||||
"ctrlp-vim"
|
||||
"vim-nix"
|
||||
"vim-startify"
|
||||
"ack-vim"
|
||||
"vim-markdown"
|
||||
"rust-vim"
|
||||
"nerdtree"
|
||||
"vim-dispatch"
|
||||
"deoplete-rust"
|
||||
"deoplete-go"
|
||||
"vim-fugitive"
|
||||
"vim-sensible"
|
||||
"vim-surround"
|
||||
"vim-airline"
|
||||
"vim-airline-themes"
|
||||
"vim-dirdiff"
|
||||
"nerdtree-git-plugin"
|
||||
];
|
||||
};
|
||||
|
||||
alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
@ -22,9 +22,6 @@ cd $DIR
|
|||
git submodule update --init --recursive
|
||||
|
||||
#configs
|
||||
ln -vfs "$DIR/.vim" ~/.
|
||||
ln -vfs "$DIR/.ideavimrc" ~/.
|
||||
ln -vfs "$DIR/.vimrc" ~/.vimrc
|
||||
ln -vfs "$DIR/rvmrc" ~/.rvmrc
|
||||
ln -vfs "$DIR/.hyper.js" ~/.hyper.js
|
||||
ln -vfs "$DIR/.hyper_plugins" ~/.hyper_plugins
|
||||
|
@ -117,9 +114,6 @@ if [[ -z $NO_GO ]]; then
|
|||
echo "Installing fzf"
|
||||
~/.fzf/install --64 --all
|
||||
fi
|
||||
echo "Installing Vim plugins"
|
||||
echo "\n" | vim +PlugClean! +qa
|
||||
echo "\n" | vim +PlugInstall! +qa
|
||||
|
||||
GOPATH="$HOME/go"
|
||||
export GOPATH=`realpath "$GOPATH"`
|
||||
|
|
Loading…
Reference in a new issue