home_server:home_server_setup:other_services:vim

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
home_server:home_server_setup:other_services:vim [2023-08-26 Sat wk34 11:32] – [Requires More Research] baumkphome_server:home_server_setup:other_services:vim [2024-03-24 Sun wk12 10:51] – [VIM Customisation] baumkp
Line 1: Line 1:
-{{tag>vim neovim command linux debian ubuntu text editor setup customise customisation cheatsheet}}+{{tag>vim neovim command linux debian text editor setup customise customisation cheatsheet}}
 =====VIM Customisation===== =====VIM Customisation=====
 +
 +<code bash>
 +:colorscheme desert
 +:set nocompatible
 +syntax on
 +:set number relativenumber
 +set autoindent expandtab tabstop=2 shiftwidth=2
 +filetype plugin on
 +filetype indent on
 +set cursorline
 +set cursorcolumn
 +set shiftwidth=2
 +set tabstop=2
 +set expandtab
 +</code>
  
 ====vim color scheme==== ====vim color scheme====
Line 67: Line 82:
 |  Ctrl + o  | Move backward through the jump history  | |  Ctrl + o  | Move backward through the jump history  |
 |  Ctrl + i  | Move forward through the jump history  | |  Ctrl + i  | Move forward through the jump history  |
 +|  gg  | Move to top of file |
 +|  Shift + g  | move to end of file |
 |  w  | Move to next word | |  w  | Move to next word |
 |  W  | Move to next blank delimited word  | |  W  | Move to next blank delimited word  |
Line 356: Line 373:
   *[[https://web.archive.org/web/20190515212443/http://bullium.com/support/vim.html|Vim Commands Cheat Sheet]]   *[[https://web.archive.org/web/20190515212443/http://bullium.com/support/vim.html|Vim Commands Cheat Sheet]]
   *[[https://web.archive.org/web/20190515212443/http://unix.stackexchange.com/questions/12535/how-to-copy-text-from-vim-to-an-external-program|How to copy text from vim to an external program?]]   *[[https://web.archive.org/web/20190515212443/http://unix.stackexchange.com/questions/12535/how-to-copy-text-from-vim-to-an-external-program|How to copy text from vim to an external program?]]
 +  *[[https://web.archive.org/web/20230509142719/http://www.terminally-incoherent.com/blog/reference/vim-cheat-sheet/|Another Vim Cheat Sheet]] 
 +  *[[https://web.archive.org/web/20211208001807/https://petro.tanrei.ca/2010/8/working-with-vim-and-ipython.html|Working with Vim and IPython]]
 ====Requires More Research==== ====Requires More Research====
  
Line 364: Line 382:
   *[[http://www.glump.net/howto/desktop/vim-graphical-cheat-sheet-and-tutorial|Graphical vi-vim Cheat Sheet and Tutorial]]   *[[http://www.glump.net/howto/desktop/vim-graphical-cheat-sheet-and-tutorial|Graphical vi-vim Cheat Sheet and Tutorial]]
   *[[http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html|Graphical vi-vim Cheat Sheet and Tutorial]]   *[[http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html|Graphical vi-vim Cheat Sheet and Tutorial]]
-  *[[http://amix.dk/blog/post/19334|Vim tips: Visual Search]] 
   *[[https://github.com/amix/vimrc|The Ultimate vimrc]]   *[[https://github.com/amix/vimrc|The Ultimate vimrc]]
   *[[https://github.com/davidhalter/jedi-vim|check out Jedi for auto completion]]   *[[https://github.com/davidhalter/jedi-vim|check out Jedi for auto completion]]
-  *[[http://jaredforsyth.com/projects/vim-debug/|NERD Commenter Command]] 
   *[[http://j605.wordpress.com/2011/10/08/a-python-debugger-for-vim/|A python debugger for vim]]   *[[http://j605.wordpress.com/2011/10/08/a-python-debugger-for-vim/|A python debugger for vim]]
-  *[[http://files.swaroopch.com/vim/byte_of_vim_v051.pdf|A Byte of Vim]] 
-  *[[https://lepture.com/en/2012/vundle-vs-pathogen|Vundle vs Pathogen]] 
-   *[[http://petro.tanrei.ca/2010/8/working-with-vim-and-ipython.html|Working with Vim and IPython]] 
   *[[http://github.com/ivanov/vim-ipython|vim-ipython - A two-way integration between Vim and IPython]]   *[[http://github.com/ivanov/vim-ipython|vim-ipython - A two-way integration between Vim and IPython]]
-  *[[http://appsweets.net/wasavi/|wasavi (VI editor for any web page)]] 
   *[[http://codemirror.net/|CodeMirror]]   *[[http://codemirror.net/|CodeMirror]]
-  *[[http://lalashan.mcmaster.ca/theobio/projects/index.php/TextAid|TextAid]] 
   *[[http://www.catonmat.net/blog/bash-vi-editing-mode-cheat-sheet/|Working Productively in Bash's Vi Command Line Editing Mode (with Cheat Sheet)]]   *[[http://www.catonmat.net/blog/bash-vi-editing-mode-cheat-sheet/|Working Productively in Bash's Vi Command Line Editing Mode (with Cheat Sheet)]]
   *[[http://hackaday.com/2017/06/21/vim-normalization/|VIM Normalization]]   *[[http://hackaday.com/2017/06/21/vim-normalization/|VIM Normalization]]
   *[[https://opensource.com/article/17/2/vim-plugins-writers?sc_cid=70160000001206xAAA|Awesome vim plugins for writers]]   *[[https://opensource.com/article/17/2/vim-plugins-writers?sc_cid=70160000001206xAAA|Awesome vim plugins for writers]]
-  *[[https://soledadpenades.com/2013/02/24/using-syntastic-jshint-for-javascript-syntax-checking-on-vim/|Using Syntastic+JSHint for Javascript syntax checking on Vim]]+  *[[https://soledadpenades.com/posts/2013/using-syntastic-jshint-for-javascript-syntax-checking-on-vim/|Using Syntastic+JSHint for Javascript syntax checking on Vim]]
  
 ---- ----
  • /app/www/public/data/pages/home_server/home_server_setup/other_services/vim.txt
  • Last modified: 2024-03-24 Sun wk12 14:04
  • by baumkp