diff --git a/install.sh b/install.sh index 905cf8a..c6f11ac 100755 --- a/install.sh +++ b/install.sh @@ -41,6 +41,9 @@ function install_vimrc { git clone "https://github.com/amix/vimrc.git" "$HOME/.vim_runtime" && sh "$HOME/.vim_runtime/install_awesome_vimrc.sh" || return 1 } +function setup_vim { + ln -s $DOTFILES/my_configs.vim $HOME/.vim_runtime/my_configs.vim +} function install_zsh_plugins { # Install fast-syntax-highlighting (git: zdharma), zsh-autosuggestions (git:zsh-users), alias-tips diff --git a/my_configs.vim b/my_configs.vim new file mode 100644 index 0000000..67008dc --- /dev/null +++ b/my_configs.vim @@ -0,0 +1,8 @@ +set mouse=a +set relativenumber number +set foldmethod=indent nofoldenable "without nofoldenable all folds are closed at startup" + + +let g:ale_linters['python'] = ['pylint'] +let g:ale_linters['bash'] = ['bashlint'] +let g:ack_default_options = " --cc --cpp --shell --python"