Compare commits
2 Commits
8fee2a0b84
...
bf3f9ddce1
Author | SHA1 | Date |
---|---|---|
Tyler Perkins | bf3f9ddce1 | |
Tyler Perkins | ef79b4243b |
|
@ -0,0 +1,16 @@
|
||||||
|
<div class="row no-gutters">
|
||||||
|
<div class="col">
|
||||||
|
|
||||||
|
<p>This is a simple one. If you use vim and want an easy way to use escape
|
||||||
|
faster, to exit out of insert mode and whatnot, try this (assuming you're on
|
||||||
|
linux)</p>
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
setxkbmap -option caps:escape
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<p>Thats all there is to it. Throw that in ~/.xinitrc and that'll work in your
|
||||||
|
terminal emulator or graphical windows. Hope this helps!</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,33 @@
|
||||||
|
<div class="row no-gutters">
|
||||||
|
<div class="col-sm">
|
||||||
|
<p>You complete me is pretty cool, it helps alot with my vim workflow, so I'll
|
||||||
|
do a breif show of how to install it. Its really simple, and only installs for
|
||||||
|
your user too, so you can use it on shared machines.</p>
|
||||||
|
|
||||||
|
<p>I will asssume Vundle is already installed. First add this in the vundle
|
||||||
|
section of your .vimrc</p>
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
Plugin 'ycm-core/YouCompleteMe'
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<p>Now launch vim and run</p>
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
:PluginInstall
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<p>Go down to Youcompleteme and hit enter, and it'll take a second to install.
|
||||||
|
If you get an error saying how the YCM server failed to start, you may need to
|
||||||
|
compile YCM. Its not hard. Run this command</p>
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
. ~/.vim/bundle/YouCompleteMe/install.py
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<p>You should see CMake go to work installing everything, and once it finishes
|
||||||
|
you can use YCM! Hope this helped, that end issue of running that install.py
|
||||||
|
tripped me up till I found it!</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
Reference in New Issue