-
Notifications
You must be signed in to change notification settings - Fork 0
vim
Nuno Nogueira edited this page May 9, 2022
·
18 revisions
- sudo apt
install vim vim-gtk3 vim-airline
- Create/copy global config file for vim:
install -D /etc/vim/vimrc ~/.vimrc
Check HERE my configuration file
- Uncoment in
~/.vimrc
or add if not:
syntax on
syntax on
set showcmd
set incsearch
set mouse=a
- Add to
~/.vimrc
:
set clipboard=unnamedplus
filetype plugin on
set number
set hlsearch
colorscheme torte
let g:powerline_pycmd="py3"
set laststatus=2
- Add to
~/.vimrc
:let g:airline_theme='powerlineish'
- More info at https://github.com/vim-airline/vim-airline-themes#using-a-theme
- Add to
~/.vimrc
:g:airline_powerline_fonts = 1
- More info at https://github.com/vim-airline/vim-airline#integrating-with-powerline-fonts
- Add to
~/.vimrc
:let g:airline#extensions#tabline#enabled = 1
- More info at https://github.com/vim-airline/vim-airline#smarter-tab-line
- vim-plug GitHub: https://github.com/junegunn/vim-plug
- To install new plugins visit: https://vimawesome.com or/and https://github.com/topics/vim-plugins
- Search for the plug and copy it to
~/.vimrc
like:Plug 'x?x?x?x/x?x?x?x'
NOT->Plugin 'x?x?x?x/x?x?x?x'
- Run in vim or nvim
:sorce %
to check if the sources are OK and:PlugInstall
to install the plugs