In the mid XIX century, Buenos Aires was pullulating with immigrants, mainly Spanish and Italian. Many of them were impoverished and blended in with the already-poor locals: the descendents of aborigins and african slaves.
From the amalgam of the newcomers' languages with Argentina's 'castilian', emerged ther slang known as Lunfardo.
It was created by criminals, mainly to avoid being understood by prison guards.
It was disseminated thanks to 'tango' lyrics, a music which was born as suburban, marginal and was swiftly forbidden by the Church and higher classes. Tango was played and danced in ports, brothels, bars and prisons.
Nowadays, Lunfardo has blended into the castilian language and is part of its idiosincrasy.
Assuming you're using an Unix-like OS (*BSD, GNU/Linux, OS X, Solaris, etc), you already have vim installed, as well as git & curl you can skip the whole manual and just type in your favorite shell the following command:
curl -L https://raw.githubusercontent.com/unbalancedparentheses/vim-lunfardo/master/bootstrap.sh | bash
Here're some tips in case you've never used VIM before:
vimtutor
into a shell to go through a brief interactive
tutorial inside VIM.<C-o>
jump back to the previous (older) location<C-i>
jump forward to the next (newer) locationThis plugin automatically adjusts 'shiftwidth' and 'expandtab' heuristically based on the current file, or, in the case the current file is new, blank, or otherwise insufficient, by looking at other files of the same type in the current and parent directories.
Fuzzy file, buffer, mru and tag finder
<Space-p>
invokes CtrlP<F5>
to purge the cache for the current directory to get new files, remove deleted files and apply new ignore options<C-f>
and <C-b>
to cycle between modes<C-d>
to switch to filename only search instead of full path<C-r>
to switch to regexp mode<C-j>
, <C-k>
or the arrow keys to navigate the result list<C-t>
or <C-v>
, <C-x>
to open the selected entry in a new tab or in a new split<C-n>
, <C-p>
to select the next/previous string in the prompt's history<C-y>
to create a new file and its parent directories<c-z>
to mark/unmark multiple files and <Space-y>
Yank menu<Space-c>
Command historyTiled Window Management for Vim with golden view ratio rule forced by autoresize:
<C-L>
split window<F8>
switch current window with the main pane<S-F8>
toggle back current window with the main pan<C-n>
next window<C-p>
previous window Buffergator is a plugin for listing, navigating between, and selecting buffers to edit. Upon invocation (using the command, :BuffergatorOpen or BuffergatorToggle, or the provided key mapping,
Selected buffers can be "previewed", i.e. opened in a window or tab page, but with focus remaining in the buffer catalog. Even better, you can "walk" up and down the list of buffers shown in the catalog by using
Ferret provides an :Ack command for searching across multiple files using The Silver Searcher, Ack, or Grep. Support for passing options through to the underlying search command exists, along with the ability to use full regular expression syntax without doing special escaping.
<leader>a
Search prompt<leader>s
Search for the word currently under the cursorIf your vim has lua enabled and the patch version is bigger than patch-7.3-885 then neocomplete is used for autocomplete.
If your vim hasn't lua enabled then neocomplcache is used for autocomplete.
<Tab>
autocompletesIf your vim has python enabled then ultisnips is used for inserting snippets.
If your vim hasn't python enabled then neosnippet is used for inserting snippets.
In any case, honza/vim-snippets are used as snippets.
If neosnippet snippets engine is used then also neosnippet-snippets are used as snippets.
<C-k>
expands snippetsA Git wrapper so awesome, it should be illegal:
<leader>gb
maps to :Gblame<leader>gs
maps to :Gstatus<leader>gd
maps to :Gdiff<leader>gl
maps to :Glog<leader>gc
maps to :Gcommit<leader>gp
maps to :Git pushPowerful shell implemented by vim
<leader>S
opens shellSyntax checking hacks for vim
<F3>
checks and shows warnings and errorsProvide easy code formatting in Vim by integrating existing code formatters
<F4>
autoformats codeWith the following lines of text
apple =red
grass+=green
sky-= blue
Try these commands:
vip<Enter>=
v
isual-select i
nner p
aragraph<Enter>
)=
gaip=
ga
) for i
nner p
aragraph=
Notice that the commands are repeatable with .