-
as seen on Super User
- Search for 'Super User'
Like many of you, my custom Vim configuration is stored in my ~/.vimrc, with the plugins, colors, etc. stored under ~/.vim/plugins, ~/.vim/colors, etc.
I want to share a single Vim configuration among many servers. Some of these servers run Vim 7, some run the older Vim 6. Most Vim plugins are intended…
>>> More
-
as seen on Super User
- Search for 'Super User'
I'm trying to use Pathogen to manage my Vim extensions. My bundle folder looks like this:
.../bundle/
+-- vim-pathogen
¦ +-- autoload
¦ +-- pathogen.vim
+-- vim-smoothscroll
+-- autoload
+-- smooth_scroll.vim
And my vimrc file includes this:
let s:root = fnamemodify(resolve(expand(":p"))…
>>> More
-
as seen on Super User
- Search for 'Super User'
I created a custom syntax file, and but none of the files in $VIMRUNTIME seem to load. I followed these pieces of the documentation:
http://vimdoc.sourceforge.net/htmldoc/filetype.html#new-filetype
http://vimdoc.sourceforge.net/htmldoc/syntax.html#mysyntaxfile
When I do
:echo &runtimepath
I…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The "matchit" plugin for vim is supposed to allow you to use the % key to jump between matching start/end tags when editing HTML, as well as /* and */ comment delimiters when editing other kinds of code.
I've followed the exact instructions in ":help matchit", but % still doesn't work for me.
It…
>>> More
-
as seen on Super User
- Search for 'Super User'
I store, commands found at http://www.commandlinefu.com/commands/browse, in a text file.
If I open this text file in Vim and I want to execute the command where the cursor is actually located I do copy the line with Y, switching to command mode with : and !CTRL+r*
Is there a more "lazy" possibility ;)
>>> More
-
as seen on Super User
- Search for 'Super User'
My question is how to structure key combinations in script below most effectively using AutoHotkey.
Having searched for exactly how to do this for hours I figured I should post here so others can at least find this solution if they are trying to do the same:
http://www.autohotkey.com/board/topic/90013-solved-wasd-fna-left-fnalta-home-fnctrla-ctrl-left-etc/
and…
>>> More
-
as seen on Super User
- Search for 'Super User'
Is there a way to customize the default hotkeys in windows xp? For example, currently win+e opens "My Computer" and win+r opens the run dialog. Is there a way to either change the target of the hotkeys or remap the hotkeys?
>>> More
-
as seen on Super User
- Search for 'Super User'
I'm currently running a VirtualBox of Arch Linux with Windows 7 x64 as the host. In Arch, I use dwm for window management. As dwm is heavily dependent on hotkeys, I've used the ALT key as its META key to prevent conflict with the Windows 7 host. However, when using emacs (also heavy hotkey usage)…
>>> More
-
as seen on Super User
- Search for 'Super User'
Is it possible to set hotkey for specific file types in vim.
For example, if I am editing a .java file, I'd like vim to run javac .java when I press 5.
Is this possible?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I was wondering if it was possible to use special keys that the macbook pro has for music control and bind them in javascript?
Example keys: PLay/pause,next, back.
I am trying to do this to modify a greasemonkey script if that helps.
Here is the current code
HotKeys.bindings['/'] = HotKeys…
>>> More