Site Tools


knowledgebase:linux:vim

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
knowledgebase:linux:vim [2022/10/31 16:24] – [Some VIM tips & tricks] marcvknowledgebase:linux:vim [2022/10/31 21:28] (current) marcv
Line 1: Line 1:
 ====== Some VIM tips & tricks ====== ====== Some VIM tips & tricks ======
 +
 +https://www.freecodecamp.org/news/vimrc-configuration-guide-customize-your-vim-editor/
  
 Setup VIM: Setup VIM:
Line 84: Line 86:
 # Set the commands to save in history default number is 20. # Set the commands to save in history default number is 20.
 set history=1000 set history=1000
 +
 +# Enable auto completion menu after pressing TAB.
 +set wildmenu
 +
 +# Make wildmenu behave like similar to Bash completion.
 +set wildmode=list:longest
 +
 +# There are certain files that we would never want to edit with Vim.
 +# Wildmenu will ignore files with these extensions.
 +set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx
  
 </code> </code>
knowledgebase/linux/vim.1667229845.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki