User Tools

Site Tools


linux:vim_dodger_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:vim_dodger_setup [2022/02/21 15:12] – [Plugin config files] dodgerlinux:vim_dodger_setup [2022/12/14 10:32] (current) – [Globals] dodger
Line 11: Line 11:
  
 ====== Advanced vimrc (2022) edition====== ====== Advanced vimrc (2022) edition======
 +
 +I have additionally [[https://git.ciberterminal.net/public/vim_setup|created a repository]] with config files :-)
 +
 +
 +
 +===== System Packages (not bundled) =====
 +
 +==== ubuntu ====
 +<code>
 +vim
 +vim-addon-manager
 +vim-airline
 +vim-airline-themes
 +vim-common
 +vim-fugitive
 +vim-nox
 +vim-puppet
 +vim-python-jedi
 +vim-runtime
 +vim-syntastic
 +vim-syntax-docker
 +vim-tiny
 +vim-youcompleteme
 +</code>
 +One line:
 +<code bash>
 +apt install vim vim-addon-manager vim-airline vim-airline-themes vim-common vim-fugitive vim-nox vim-puppet vim-python-jedi vim-runtime vim-syntastic vim-syntax-docker vim-tiny vim-youcompleteme
 +</code>
 +
  
 ===== Globals ===== ===== Globals =====
Line 108: Line 137:
  
 That will install all the above plugins: That will install all the above plugins:
-  * 'junegunn/vim-easy-align' +  * ''junegunn/vim-easy-align'
-  * 'https://github.com/junegunn/vim-github-dashboard.git' +  * ''https://github.com/junegunn/vim-github-dashboard.git'
-  * 'SirVer/ultisnips' +  * ''SirVer/ultisnips'
-  * 'scrooloose/nerdtree', +  * ''scrooloose/nerdtree'', 
-  * 'tpope/vim-fireplace', +  * ''tpope/vim-fireplace'', 
-  * 'rdnetto/YCM-Generator', +  * ''rdnetto/YCM-Generator'', 
-  * 'fatih/vim-go', +  * ''fatih/vim-go'', 
-  * 'nsf/gocode', +  * ''nsf/gocode'', 
-  * 'junegunn/fzf', +  * ''junegunn/fzf'', 
-  * 'tpope/vim-sensible' +  * ''tpope/vim-sensible'
-  * 'junegunn/seoul256.vim' +  * ''junegunn/seoul256.vim'
-  * 'vim-syntastic/syntastic' +  * ''vim-syntastic/syntastic'
-  * 'mbbill/undotree'+  * ''mbbill/undotree''
  
 +
 +
 +
 +===== Additional syntax/configs =====
 +==== Tagbar ====
 +Used for function/classes navigation [https://preservim.github.io/tagbar/|link].
 +
 +<code bash>
 +cd ~/.vim/bundle
 +git clone https://github.com/preservim/tagbar.git
 +</code>
 +And add to ''~/.vimrc'':
 +<code vim>
 +" tagbar 
 +nmap <F8> :TagbarToggle<CR>
 +
 +</code>
 +
 +
 +
 +==== terraform syntax ====
 +From [[https://github.com/hashivim/vim-terraform]] using ''patogen'':
 +<code bash>
 +git clone https://github.com/hashivim/vim-terraform.git ~/.vim/bundle/vim-terraform
 +</code>
 +
 +==== Puppet syntax ====
 +From [[https://github.com/rodjek/vim-puppet]] using ''pathogen'' :
 +<code bash>
 +git clone https://github.com/rodjek/vim-puppet.git ~/.vim/bundle/vim-puppet
 +</code>
  
  
Line 305: Line 365:
  
 ^ ##############'''Shortcut'''############## ^ ##############''command executed''############## ^ ------------------------------------------------------------------ ^ ^ ##############'''Shortcut'''############## ^ ##############''command executed''############## ^ ------------------------------------------------------------------ ^
-|''<leader>n'' | '':NERDTreeFocus<CR>''Focus on NERDTree panel +|''<leader>f'' | '':FZF<CR>''Open ''fzf'' 
-|''<C-n> '' | '':NERDTree<CR>''Show NERDTree +inside fzf -> ''<C-t> '' | ''g:fzf_action 'tab split'<CR>''Tab split selected file 
-|''<C-t> '' | '':NERDTreeToggle<CR>''Toggle NERDTree +inside fzf -> ''<C-x> '' | ''g:fzf_action 'split'<CR>''split selected file 
-|''<C-f> '' | '':NERDTreeFind<CR>''execute NERDTree find |+inside fzf -> ''<C-v> '' | ''g:fzf_action 'vsplit'<CR>''vsplit selected file |
 |''<leader>u'' | '':UndotreeToggle<CR>'' | Toggle Undotree pannel | |''<leader>u'' | '':UndotreeToggle<CR>'' | Toggle Undotree pannel |
-|''<C-n> '' | '':NERDTree<CR>''Show NERDTree | +|''<leader>b'' | '':BuffergatorOpen<CR>''Open Buffergator pannel |
-|''<C-t> '' | '':NERDTreeToggle<CR>'' | Toggle NERDTree | +
-|''<C-f> '' | '':NERDTreeFind<CR>'' | execute NERDTree find |+
 | ''[count]<leader>cc'' | '':NERDCommenterComment'' | Comment out the current line or text selected in visual mode. |  | ''[count]<leader>cc'' | '':NERDCommenterComment'' | Comment out the current line or text selected in visual mode. | 
 | ''[count]<leader>cn'' | '':NERDCommenterNested'' | Same as cc but forces nesting. |  | ''[count]<leader>cn'' | '':NERDCommenterNested'' | Same as cc but forces nesting. | 
Line 328: Line 386:
  
  
 + 
 ====== Simple vimrc ====== ====== Simple vimrc ======
  
linux/vim_dodger_setup.1645456378.txt.gz · Last modified: 2022/02/21 15:12 by dodger