In my .vimrc I have mapped the #-key to a macro for commenting out/in lines of code.
Unfortunately # in vim already has a function - it searches backwards for the word beneath the cursor.
What I would now like to have is a way to map this…
I'm using XEmacs on Windows 7 installed in MacBookPro.
So I don't have a Control-Key on the right side.
I would like to make the right-option key to work as right-ctrl.
I googled and tried the code below, but it is not working:
(setq…
I am trying the following but only the first part works:
*^!;::
Send <
return
*^!`:::
Send >
return
Apparently it is not the proper way to escape the colon ":". Do you have any idea on how to do this?
I've got a Mac OS X Lion. And there's a vim, that is installed from macports. Unfortunately, it lacks a +keymap option. Is there a way I can install vim from macports with this additional option?
As far as I know, ports fetch vim sources and compile…
I'm sorry, for some reason I'm having a lot of trouble figuring out how to map my backspace button to Ctrl+H in my vimrc file. I've looked a lot online, and haven't found anything that seems to work.
Any help is much appreciated.
I wan't to create a shortcut ( right command and r to } ) because it is easier and I don't use the right command a lot , I modified my complex modification json (and there are no errors in it) but when i try it in a browser tab ( for instance ) it…
I am using the Vim extension in Visual Studio Code and I'm facing an issue with the
buffer behavior. When I yank some text and then paste it over a selection in visual
mode, the yanked text gets replaced in the buffer with the text that…
For some unknown reason in Tmux the 'Tab' key clears the pane I'm in, which is annoying when I use 'Tab' to indent in Neovim and 'Shift Tab' to unindent.
Is there a way to fix this (stop 'Tab' clearing my panes and work as intended)
I've tested this…
I want to set a keymap for Ctrl+` in vim. I tried all of the following:
`
^`
I want it to open the terminal similar to the functionality in VSCode. I expected this to work:
nnoremap :terminal
But it doesn't
I'm writing a mapping in neovim. Here is:
:imap abcd efgh
When I type 'abcd', it replaces by 'efgh'. This is the expected behavior.
But as typing 'abcd', it prints a, then replaces a by b, then replaces b by d and, finally when I type 'd', it…
for example I have multiple windows in a vim instance:
+---+---+---+
| | | |
| A | | |
| | | |
+---+---+---+
Different window has different filetypes, some are plugins (NvimTree/undotree/vista), others are real editing buffer…
I want to replace the selected Text (in Visual-Mode) with the current Date.
Currently I am trying to call a cmd and then use the 'change' method.
keymap.set("x", "nf", function()
vim.cmd(string.format("insert\n%s",…
I'm running Ubuntu, and I like to use the media keys on my keyboard to control Spotify. For basic functions such as Play, Pause, Skip to Next, and Skip to Previous, this is easy, since I can use dbus [1].
However, I'd also like to be able to seek…
I want to use dvorak layout to code in vscode,but i have a mass configure file in vscode vim based
on the qwerty keyboard layout and i dont want to change my configure file. So how to use
dvorak when i was typing while in insert mode in vscode vim…
I'm looking if there is a way to call the board (DSXLE5) and request info of the current KeyMapping value?
It is the first time I deal with DSX5 family, I've already identified that the firmware change process is different, as before, to change a…