开发者

macvim

0
  • Defining my own command

    I\'m trying to define my own command in MacVim to turn a c statement or range of statements into comments.So I put this in my vimrc:开发者_StackOverflow[详细]

    2023-03-09 14:40 分类:问答
  • MacVim + Command-T plugin, how open in new tab by default

    I would like to do the following with the Command-T plugin for V开发者_如何学PythonIM: Make opening files be in a new tab by default, instead of having to hit CTRL-T when a file is selected. I would l[详细]

    2023-03-09 08:46 分类:问答
  • vim functions with script scope

    I had installed Janus with my MacVim setup. In order to learn about how vim scripts work, I\'开发者_如何学编程ve been reading through the vimrc file that Janus uses, and I don\'t understand how the au[详细]

    2023-03-08 20:09 分类:问答
  • VIM Unix commands printed in color

    I\'m using MacVim and I would like to have ! commands printed in color. For example: In bash, the following echo statement prints Hello World in green (as expected):[详细]

    2023-03-08 18:43 分类:问答
  • Dynamic vim font size based on file length

    I want vim (MacVim) to defa开发者_如何学编程ult to a large font for new/short files and dynamically scale down to a smaller font (to a set minimum) as the number of lines grows. Is this possible to do[详细]

    2023-03-08 13:33 分类:问答
  • Invoke NERDCommenter in insert mode?

    In my .vimrc, I have the following mapping which I use to toggle comments using the excellent NERDCommenter plugin:[详细]

    2023-03-08 08:26 分类:问答
  • Moving by line and not by sentence

    Using macvim. Say I have one sentence which takes up 5 lines in the editor. And a second sentence which occupies th开发者_如何学编程e 5 next lines. Start with cursor on line 1. In normal mode, pressin[详细]

    2023-03-08 04:03 分类:问答
  • Open vim tab in new (GUI) window?

    I\'d like to move the current tab into a new (visual/real) window in MacVim. It\'s probably diffi开发者_StackOverflow社区cult, as:[详细]

    2023-03-08 02:09 分类:问答
  • How to set .vimrc for c programs?

    How should I set up my .vimrc so that macvim will set my tab to 4 spaces for c p开发者_开发知识库rograms?This should do it[详细]

    2023-03-07 03:33 分类:问答
  • MacVim remember my old settings

    I have deleted my old .vimrc and .vim to configure vim from scratch. I have done it. Bu开发者_开发技巧t MacVim remembers my old settings, e.g. maps. Does it cache settings and plugins somewhere?MacVim[详细]

    2023-03-04 01:37 分类:问答