I have a few files open in vim, in multiple windows. Is there a command like :e that will reload the buffers for all the files I have open? I need this because I sometime alter some of the files with another editor while they are also open in vim.
...
I just installed VCSCommand and I'm getting an error of "No suitable plugin" whenever I try to run a command. I have a filed loaded in Vim that is in a directory with a mercurial repository.
I found some explanations that the "No suitable plugin" error may be displayed if you're not in a "working directory", which I took to mean that t...
Is it possible to specify multiple file names on the command line when starting vi?
...
How do I make mvim automatically split the window vertically upon launch?
...
In my .vimrc I have the following snippet:
if has('autocmd')
filetype plugin indent on
syntax on
but when I start vim it shows the following error:
Can't open file /usr/share/vim/syntax/syntax.vim
error seems to have occurred on syntax on line in .vimrc.
I do not have syntax.vim in path /usr/share/vim/syntax though I have...
I have recently set the option
set relativenumber
in my .vimrc but now when I open taglist or NerdTree these buffers have line numbers.
Is there a way to disable the line numbers in the taglist and nerdtree buffers (but keep them in the others)?
...
Question says it all.
...
Guys, I am learning vim and it is great. But the problem with vim/gvim is that it doesn't support any complex scripts like Devanāgarī. It is not rendered properly. See the screenshots below:
Rendering in Vim
Correct Rendering which is displayed gEdit/emacs/KWrite
Is there any way to make vim/gvim support complex scripts? This affe...
In my current project I end up typing this line a lot
Then show me the page
How should I create a shortcut mapping so that if I am on a line and hit that shortcut then a new line just below the current line is created and the above mentioned line is added.
It would be nice if the newly added line has the same indentation as the abov...
So I am giving Vim , a serious try for coding my python apps.
However Vim is proving so flexible, I was thinking to use it as my main editor at work (lawyer / legal documents) . The problem is that my mother tongue is not English but Greek. So I have mapped the ALT+SHIFT to change between English - Greek. The issue I am experience is t...
I have found a vi emulator for microsoft word here:
ViEmu
but I wanted to use vim to edit DOC or even rtf files. My question is , is this possible ?
Are they any other formats that preserve page/paragraph layout combatible with both Microsft Word and Vim ? I am also open to OpenOffice formats .
...
I was trying to be super productive and tried to mimic my vim profile to others by grabbing their .vim file from github. However, now vim and gvim are totally screwed up. syntax highlighting doesn't work, snipMate doesn't work and many other things.
How can I go back to square one? How do I completely remove vim and gvim and install...
I have visited Vim website , script section and found several synthax checkers for python. But which one to choose ? I would prefer something that supports python 3 as well, even though I code in python 2.6 currently.
Do all these checkers need a module like pychecker and pyflakes ?
I could install the most popular from scripts datab...
Hi, I have a problem with TMUX key bindings. When I'm working on a terminal pane, if I press ctrl+pgup, it should scroll the screen one page up, as a normal terminal, but it doesn't.
Also, while using VIM, I have mapped to do some actions, but this key combination is not called.
Any TMUX expert there?.
...
So I installed pydiction into vim for autocompleting my python code in windows. No problemo. Worked like a charm.
Tried the same thing with my Ubuntu setup, creating the .vim/after/ftplugin directory in my home folder and updating the vimrc with the correct path of the pydiction dictionary but I fail every time. Why is that ? I follow ...
Hello.
On my Mac OSX 10.6 machine, I started to use MacVIM for vim. Then I noticed my terminal version was different to the MacVIM version (MacVIM was 7.3 and my terminal version 7.2)... I thought they used the same vim?
I need 7.3 for some of the features. So I set about wanting to update the terminal version. I basically cloned it us...
Hi All,
This is what I want to do using GVIM 7.3:
open a file in new tab (first tab)
get all lines which contain a pattern -> insert them to a register/clipboard
open a new tab (second tab)
paste the code from clipboard
do some regex replace process in the second tab.
I can manually execute commands one by one successfully.
I even c...
Hi Vim'ers
This i really a newbie question - but basically how do I enable a template for certain filetypes.
Basically I just want the template to insert a header of sorts, that is with some functions that I find usefull, and libraries loaded etc.
I intepret
:help templates
the way that I should place this in my vimrc
au BufNewFi...
Just moving over to vim at the moment. In textmate I could format code by hitting cmd-alt-[. How do I achieve the same in vim?
See the answer below for the command. I found I also need the following in my vimrc so that vim new how to autoindent ruby.
if has("autocmd")
filetype indent on
endif
...
I'm learning ruby on rails on a linux box and dusting off my VIM skills (skillz?).
When I got started on VIM way back in my c++ days, I had a friend with a great vimfiles folder that had tons of stuff to get started. Starting from scratch, vim is great, but it feels like it could be a lot better.
I currently have:
vim-ruby
buffer ...