From f67d8dab8d1f2e72d39afb95129bfc17e94e4a67 Mon Sep 17 00:00:00 2001 From: bretello Date: Fri, 14 Feb 2020 16:37:46 +0100 Subject: [PATCH] add my_configs.vim, and install routine --- install.sh | 3 +++ my_configs.vim | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 my_configs.vim 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"