This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Use space as leader | |
let mapleader = " " | |
" Use Ag to search files via ctrlp | |
unlet g:ctrlp_user_command | |
let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""' | |
" NERDTree | |
map <Leader>nn :NERDTreeToggle<cr> | |
map <Leader>nf :NERDTreeFind<cr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Remap Caps to to ESC | |
http://apple.stackexchange.com/questions/132564/how-can-i-remap-caps-lock-to-both-escape-and-control |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Reactjs | |
http://blog.siftscience.com/blog/2015/best-practices-for-building-large-react-applications | |
http://aeflash.com/2015-02/react-tips-and-best-practices.html | |
*Performance* | |
React.js Conf 2015 - Making your app fast with high-performance components | |
https://www.youtube.com/watch?v=KYzlpRvWZ6c#action=share |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common | |
sudo apt-get build-dep vim-gnome | |
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev mercurial libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev | |
sudo rm -rf /usr/local/share/vim | |
sudo rm /usr/bin/vim | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Article | |
http://www.codeography.com/2013/06/17/replacing-all-the-things-with-unite-vim.html | |
Repo | |
https://github.com/terryma/dotfiles | |
" Use Ag to search files via ctrlp | |
unlet g:ctrlp_user_command | |
let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! Neoj() | |
if pumvisible() == 1 | |
return "\<C-n>" | |
else | |
call UltiSnips#JumpForwards() | |
if g:ulti_jump_forwards_res == 0 | |
return "\<C-j>" | |
endif | |
return "" | |
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vim Workflows | |
" Search and Replace | |
/foo<CR> | |
cgnnewfoo on first match | |
n.n.n. ... to replace next match |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################### | |
# Configuration | |
########################### | |
# use 256 term for pretty colors | |
set -g default-terminal "screen-256color" | |
# increase scroll-back history | |
set -g history-limit 5000 |
NewerOlder