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
vim [2019/12/27 05:46]
paul [Plugins]
vim [2020/10/19 17:24] (current)
Line 1: Line 1:
 ====== Vim ====== ====== Vim ======
 +
 Vim is one of my favorite tools. Whenever you are working and think, hey it Vim is one of my favorite tools. Whenever you are working and think, hey it
 would be really useful if I could do this, chances are Vim lets you do just that would be really useful if I could do this, chances are Vim lets you do just that
Line 5: Line 6:
  
 ===== Installing Vim ===== ===== Installing Vim =====
 +
 Installing Vim with my plugins requires Vim with python. The reason for this is so that YCM works.  Installing Vim with my plugins requires Vim with python. The reason for this is so that YCM works. 
 There is an issue with YCM, Vim and Ubuntu 16.04 which is a conflict between python 2 and 3. There is an issue with YCM, Vim and Ubuntu 16.04 which is a conflict between python 2 and 3.
Line 139: Line 141:
 :let g:CommandTTraverseSCM :let g:CommandTTraverseSCM
 </code> </code>
 +
 +To go to a tab, do ''{count}gt'' where count is the tab number (first is one).
 +
 +Send one command while in insert mode: ''CTRL-O''
 +
 +Open a link in mac with the cursor on it: ''gx .''
 +
 +===== Snippets =====
 +
 +To use snippets for repetive code, put that code in a folder. Then use the ''r:
 +./location/of/snippet'' command to dump the text in the active buffer. Easy
 +Pease!
  
 ==== Editing Remote Files ==== ==== Editing Remote Files ====
Line 148: Line 162:
  
 ===== Plugins ===== ===== Plugins =====
 +
 The following is info on the plugins I use. The following is info on the plugins I use.
  
Line 157: Line 172:
  
 Install the patched font, then select the font in terminal. Install the patched font, then select the font in terminal.
-{{::screen_shot_2019-12-26_at_9.45.42_pm.png?400|}}+ 
 +{{:screen_shot_2019-12-26_at_9.45.42_pm.png?400|}}
 ==== NerdTree ==== ==== NerdTree ====
  
Line 308: Line 324:
 <leader> r          " Toggle true/false <leader> r          " Toggle true/false
 </code> </code>
 +
 +==== Ordered Number List ====
 +
 +Make a list of 1's, then block select the second one, and then press g <cnrl-a>.
  
 ==== Quickfix ==== ==== Quickfix ====
  • vim.1577425573.txt.gz
  • Last modified: 2019/12/27 05:46
  • by paul