Created
January 27, 2018 14:29
-
-
Save adityamertia/fbdcfdfdb1fa9cde8484f8e6d638ae7e to your computer and use it in GitHub Desktop.
VIM configurations to use
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSTALL vim best configs: | |
https://github.com/amix/vimrc | |
git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime | |
sh ~/.vim_runtime/install_awesome_vimrc.sh | |
INSTALL latest vim e.g. v8 | |
git clone https://github.com/vim/vim.git | |
cd vim | |
sudo yum install ncurses-devel | |
./configure | |
make | |
sudo make install | |
vim --version | head -n 1 | |
Add following .vimrc | |
------------.vimrc--------------------- | |
set runtimepath+=~/.vim_runtime | |
set nofoldenable | |
source ~/.vim_runtime/vimrcs/basic.vim | |
source ~/.vim_runtime/vimrcs/filetypes.vim | |
source ~/.vim_runtime/vimrcs/plugins_config.vim | |
source ~/.vim_runtime/vimrcs/extended.vim | |
set showcmd | |
map <silent> <C-n> :NERDTreeToggle<CR> | |
try | |
source ~/.vim_runtime/my_configs.vim | |
catch | |
endtry | |
------------.vimrc--------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment