Pathogen does not load plugins

This seems to be common problem caused by the “system” vimrc in some distributions setting filetype on before you set up pathogen. So turning it off and back on again forces plugins to load correctly: call pathogen#runtime_append_all_bundles() filetype off syntax on filetype plugin indent on More info here.

Add GoLang syntax highlighting for VIM

UPDATE: Go 1.4 Release Notes Miscellany The standard repository’s top-level misc directory used to contain Go support for editors and IDEs: plugins, initialization scripts and so on. Maintaining these was becoming time-consuming and needed external help because many of the editors listed were not used by members of the core team. It also required us … Read more

vim: Open tag in new tab

You can C-wC-]C-wT To achieve that effect Then you can also map that: :nnoremap <silent><Leader><C-]> <C-w><C-]><C-w>T Edit: also, depending on what you actually want, don’t forget you can open tags in preview (:ptag) with e.g. C-w}. Just mentioning it in case…

Execute commands in vim

<Plug> mappings are meant to be mapped and called via the map. A <Plug> map is a device to expose a clean interface of plugin actions to the user. Example: Instead of mapping some key to some plugin function in the plugin’s hard code, such as “map zz to the action ‘center cursor aesthetically’”: nnoremap … Read more

Automatic closing brackets for Vim [closed]

For those of us, who want a vanilla vim: inoremap ” “”<left> inoremap ‘ ”<left> inoremap ( ()<left> inoremap [ []<left> inoremap { {}<left> inoremap {<CR> {<CR>}<ESC>O inoremap {;<CR> {<CR>};<ESC>O This autocomplete in insert mode, provided set paste is not set. Keep it in the vimrc to avoid typing it every time and when we … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)