Search Results

Search found 1891 results on 76 pages for 'vim registers'.

Page 30/76 | < Previous Page | 26 27 28 29 30 31 32 33 34 35 36 37  | Next Page >

  • How do you automatically remove the preview window after autocompletion in Vim?

    - by Ben Davini
    I'm using omnifunc=pythoncomplete. When autocompleting a word (e.g., os.), I get the list of eligible class members and functions, as expected, as well as a scratch buffer preview window with documentation about the selected member or function. This is great, but after selecting the function I want, the preview window remains. I can get rid of it with ":pc", but I'd like it just to automatically disappear after I've selected my function, a la Eclipse. I've played around with "completeopt" but to no avail.

    Read the article

  • how to make the vim plugin "Project" and "Mini Buffer Explorer" work together?

    - by SunLiWei
    As the title says, I need to make these plugins work together well. The mini buffer explorer just automatically opens after I open the second file(press Enter in project plugin window), then Mini Buffer Explorer opens as the third window on the top of my screen. But after I switch back to project plugin window and press Enter to open the third file, a fourth window opened! It seems project plugin can't overwrite the second file's window. Project plugin 1.4.1 Mini Buffer Explorer plugin 6.4.0

    Read the article

  • How to make it easier when using the vim command in unix?

    - by Mitral
    Recently i try to learn something about the unix. when i try to edit something using the vi command, it is very difficult for me since i have to switch the edit mode and control mode time by time. It is very inconvenient. Is it that i miss something or it is originally like that? Is there anyway to improve that? Thank you :)

    Read the article

  • What is your favorite colorscheme FOR PROGRAMMING in Vim?

    - by ThomasGHenry
    I think this is a relevant question for programmers and I'd like to hear other people's answers because some syntax highlighting color schemes are better on the eyes than others. This can affect productivity as much as ergonomic keyboards or anything else on here. It's about comfort and productivity. So, I'm curious. Do you find some color schemes better adapted for some languages over others? At the other end of the spectrum, I think coding without syntax highlight is awful and slow going. Does anyone work better like this? Thanks! EDIT: so we'll try it as a community wiki. Similar Question

    Read the article

  • Vim: How to exchange key bindings? (bind '|' on '7' key)

    - by duddle
    Having the German Mac Keyboard Layout, it is a pain to type | as it is bound to <A-7> and it is hard for me to reach the Alt key. Thus, I'd like to do the following remapping (exchanging the binding for | and 7): imap 7 <Bar> imap <A-7> 7 The first one works, the second one does not. I have already tried all combinations with inor (no remap) but wasn't successful. Maybe I don't get the concept of remapping. Or I am missing something else.

    Read the article

  • In Vim, how to swap 2 non adjacent patterns?

    - by ThG
    I have lines of text, all with the same structure, and would like to make a permutation of 2 elements on all lines: 1257654 some text (which may be long) #Foo 1543098 some other text #Barbar 1238769 whatever #Baz 2456874 something else #Quux I want to obtain : #Foo some text (which may be long) 1257654 #Barbar some other text 1543098 #Baz whatever 1238769 #Quux something else 2456874 This is where I am stuck : :%s/\(\d\{7\}\)\(#.\{-}\)/\2\1/ Where did I go wrong ?

    Read the article

  • Mac OS X Terminal: mouse support?

    - by avetis.kazarian
    Is there a native option (ie. without installing extra soft/package/plugins) to enable mouse support in the Terminal app? Actually, I'm using a lot vim with the option set mouse=a (activating mouse features). But it seems that Terminal don't support all xterm's features. It appears (after some googling) that Terminal had once the mouse support, but I wonder where did it go. N.B: I really want mouse support in Terminal, not only for vim, so please, don't suggest MacVim :]

    Read the article

  • How do I install the LargeFile plugin for gVim?

    - by drapkin11
    I want to install and use the famed LargeFile plugin to help make opening large files quicker and easier. I've installed other plugins for gVim successfully, by simply placing the '.vim' file in the /plugins folder. But this plugin is a little different, in that it comes as a gzipped '.vba' file. After I unzip it, what do I do next? As I understand it, the same author created vimballPlugin.vim, which is supposed to execute it?

    Read the article

  • Colors are not displayed correctly in GVim on some computers

    - by MARTIN Damien
    I try to use a colorscheme. On my desktop it looks like how it should be : https://github.com/martin-damien/tetrisity-vim/blob/master/tetrisity-vim.png But on my laptop, I have the following colors : http://img703.imageshack.us/img703/8444/errorufl.png Has you can see the most simple and visible point is in comments. The should be grey on black and they finaly are blue on transparent. What could make such errors ?

    Read the article

  • How to map PageDown and PageUp Keys to function normally

    - by mtk
    When I open a document using vi or vim, I am unable to navigate the page using Page Up and Page Down keys. On pressing these keys, vim seems to behave in abnormal maaner, and changes the case of character beneath the cursor. It then takes few seconds to come back again in insert mode. Please let me know, how to map these keys, so that on pressing them I can scroll through pages smoothly just like Ctrl+ (f / b / u / d ).

    Read the article

  • emacs for sys admins

    - by mbac32768
    Are you a sys admin that uses emacs? What tools/plugins do you find essential? In my organization the programmers tend to use emacs whereas the sys admins gravitate towards vim. Since we have 4:1 programmers:sys admins, the global emacs config has a lot more goodness but it doesn't fit nicely into my workflow since I'm used to starting/stopping vim on remote hosts 1000 times a day Does emacs have a place in your sys admin workflow?

    Read the article

  • Search for text of register in function

    - by dotancohen
    I am writing a VIM function which should search for the text found in register a. In VIM I would start a search with / then press Ctrlr and finish off with a then Return. However this line in the function is not working: execute "/<c-r>a<Return>" It is throwing this error: E486: Pattern not found: <c-r>a<Return> How do I enter the literal Ctrlr into the function? Thanks.

    Read the article

  • Fail to set a new location of _viminfo on Windows

    - by Elderry
    I am trying to move _viminfo out of my home folder to make it simpler. So I added this to my _vimrc: set viminfo+=n~\\AppBackup\\Vim\\_viminfo However it's useless, Vim still create _viminfo in my home folder. Then I manually input the command above. This time it works fine, so I am sure the command itself is valid. How should I solve this problem for now? To be more specific, I am using GVim 7.4 on Windows 8.1.

    Read the article

  • emacs tabs more vim-like

    - by afilatun
    I'm currently trying emacs coming from vim. There is only one thing I desperately miss : tabs (in a GUI sense). I know TabBarMode but it doesn't keep the division of windows (with C-x 3 for example) from tab to tab while Vim does it. Is there any plugin for emacs that handle tabs in a more vim-like way?

    Read the article

  • get bash history to vi

    - by nameanyone
    When I try to read bash history into vim, I get nothing. :r !history If I just execute the command, i.e. :!history instead of history I get a snapshot of my terminal as it looked before I started vim. How can I read the output of "history" into vim? Reading the contents of .bash_history won't do as I save history with timestamps: HISTTIMEFORMAT='%Y.%m.%d %R '

    Read the article

  • Indent or comment several text lines with VI

    - by Werner
    Hi, can vim or vim be used to comment or indent at the same time a number of lines? For instance: for item in Lista: ind = int(floor(1.0*(item-lmin)/width)) if ind==nintervals: ind=ind-1 print item,ind comment it to: #for item in Lista: #ind = int(floor(1.0*(item-lmin)/width)) #if ind==nintervals: #ind=ind-1 #print item,ind or indent it to: for item in Lista: ind = int(floor(1.0*(item-lmin)/width)) if ind==nintervals: ind=ind-1 print item,ind Thanks P.D. Is relevant the difference between VI and VIM?

    Read the article

  • Does an updated 'vimtutor' exist?

    - by Glennular
    vim comes with a nice built-in interactive tutorial. You can access this tutorial by just running: $ vimtutor It is very easy to use because it creates working cases for basic commands. Is there a more advanced tutorial? Has any one though to build one to help uses take their VIM skills to the next level. Most tutorial and cheat-sheet sites out there for vim only show commands but not necessarily specific uses and examples. Is there an advance tutorial out there? Is this the type of project that could be an open source document that everyone can add examples to? Like a Vim Interactive Wiki or similar to the RegEx sites that have the built in regex testers.

    Read the article

< Previous Page | 26 27 28 29 30 31 32 33 34 35 36 37  | Next Page >