1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-22 03:21:30 +01:00

add my_configs.vim, and install routine

This commit is contained in:
bretello 2020-02-14 16:37:46 +01:00
parent 61f2739e38
commit f67d8dab8d
2 changed files with 11 additions and 0 deletions

View File

@ -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 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 { function install_zsh_plugins {
# Install fast-syntax-highlighting (git: zdharma), zsh-autosuggestions (git:zsh-users), alias-tips # Install fast-syntax-highlighting (git: zdharma), zsh-autosuggestions (git:zsh-users), alias-tips

8
my_configs.vim Normal file
View File

@ -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"