The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
1answer
250 views

How to change Vim's command type mode programmatically?

Is there a simple way to switch from one command type mode to another without loosing the current command line? In my ~/.vimrc file I remap the <space> and <c-space> character, coming ...
0
votes
3answers
1k views

vim backspace not working normally

The Backspace key is not working as expected in vim and also in vi. It is working as the Delete key, and Delete key is deleting the char, but instead something wierd happens. But, for now, I am trying ...
3
votes
1answer
844 views

Saving with CTRL-s in vim

I have added this line in .vimrc so that pressing control-s saves the current file :nmap <C-s> :w!<cr> :imap <C-s> <esc>:w!<cr> But this is not working. Any ...
1
vote
1answer
208 views

Reassigning Ctrl + Arrow keys in Vim [duplicate]

Possible Duplicate: How to fix Ctrl + arrows in Vim? Through the several tutorials and tips and tricks site about Vim, I think I happened to read that one can reassign a combination of keys ...
2
votes
1answer
794 views

How to fix the shifted function keys in vim in xterm in gnome-terminal?

When I hit the <s-f2> key to execute my nnoremap <s-f2> :set number! mapping Vim opens its "Insert" mode above (O) and types the 1;2Q string. In order to see the entire terminal key code – ...
3
votes
1answer
92 views

Mapping character keys

I really don't understand bash's use of control characters. I understand simple things like adding colors with escape sequences but am at a loss for how to do things like bind keys in .inputrc. For ...
1
vote
1answer
174 views

map “Ñ” to “:” in vim

I want map the key Ñ (Shift+ñ) to : in the normal mode of vim. I've searched vim configs with Ntilde but I've found nothing. Any idea?.
3
votes
2answers
1k views

Map Control-Shift-Tab in rxvt-unicode

I'd like to map the keybinding Ctrl+Shift+Tab in rxvt-unicode. I managed to map Ctrl+Tab as follows. The corresponding entry in .Xresources is URxvt.keysym.Control-Tab: \033[27;5;9~ Using cat -v ...
4
votes
0answers
93 views

Can I map a key (caps lock) so it does one thing pressed alone, and another when pressed with a second key? [duplicate]

Possible Duplicate: Remap CapsLock to Escape and Control System Wide Just read this seriously obsessive post about customising keyboards and while I'm not going to do everything there, ...
5
votes
2answers
368 views

vim customized with emacs commands (insert mode only)

I was an emacs user, and I have to switch to vim. But I miss some basic emacs commands in vim insert mode: C-A C-E C-K C-Y C-x C-s ... and some other I know that I can press Escape and then press ...
1
vote
1answer
614 views

How to bind “Ctrl-Alt-b” to the prefix of tmux?

Tmux uses Ctrlb as its prefix, but Ctrlb conflict with Emacs. I want to bind CtrlAltb to tmux's prefix. I guess it may be C-M-b but didn't work...
5
votes
3answers
292 views

Rebinding “clear prompt” in mutt

By default, when entering information at the command prompt in mutt, you can clear the prompt with Ctrlg, as described in the manual: ^G n/a abort I have been trying to bind ...
3
votes
1answer
247 views

Fn+F2 does not UNMUTE

I am using Lubuntu 11.10 (original, not Ubuntu + LXDE) on a Vaio VPCEG series. After install of some network manager, my key Fn+F2 got a different function. It's printed on it the blue symbol for ...
2
votes
1answer
584 views

Defining key sequences in Evil-mode Emacs

I couldn't find any instructions on defining key sequences in the Evil doc. The example given by the developers only covers a single key. (define-key evil-normal-state "w" 'foo) What do I need to ...
1
vote
1answer
177 views

Remap select window 2 in tmux

In tmux you can switch to window 2 with prefix_key + 2. I'd like to press rather prefix_key + u. I tried in .tmux.conf this: bind-key u 2 and this: bind-key u select-window -t 2 Which doesn't ...
1
vote
0answers
106 views

Use the system Compose database in Gtk applications [duplicate]

I'm using a X server which doesn't implement the XKB extension (it is VNC, but I don't think it matters, my vncviewer is running on Windows XP, I don't think it matters either). I've set up a ...
7
votes
2answers
5k views

How do I bind to Shift+{Left,Right} in tmux?

I'm looking at tmux from screen, and have hit a bump while configuring the (highly configurable!) tmux key bindings. Problem is, in my .screenrc I have bindkey ^[[d prev bindkey ^[[c next bindkey ...