Tell Vim to look for tags
files:
- in the directory of the current file,
- in the working directory,
- and in every parent directory, recursively,
This document is written to help JavaScript developers to understand JavaScript's weird parts deeply and to prepare for interviews, the following resources was really helpful to write this document:
With Unite and Anzu (and a little vimscript) it is possible to create a window showing all matching search results that appears automatically when searching.
See Search Results Window with Unite and Anzu for the code or below for a demonstration.
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
{ | |
"libs":[ | |
"browser", | |
"chai", | |
"ecma5", | |
"ecma6", | |
"jquery", | |
"underscore" | |
], | |
"plugins": { |
See https://github.com/romainl/vim-rnb for an up-to-date version.
See https://github.com/romainl/idiomatic-vimrc for an up-to-date version.
<?php | |
// composer.json | |
/* | |
{ | |
"require": { | |
"illuminate/database": "*" | |
} | |
} | |
*/ |
if exists("g:loaded_nerdtree_open_multiple") | |
finish | |
endif | |
let g:loaded_nerdtree_open_multiple=1 | |
vnoremap <buffer> o :call <SID>OpenMultiple()<cr> | |
function! s:OpenMultiple() range | |
let curLine = a:firstline | |
while curLine <= a:lastline |