Skip to main content

Questions tagged [insert-mode]

The mode in Vi and Vim in which you can insert text to the open document.

1 vote
1 answer
74 views

I'm not sure I know the right words to use to ask / search for my question. In my main Vim window, I can type: <Esc>!ls and it will put a directory listing in that place in the window. I can ...
hymie's user avatar
  • 169
1 vote
1 answer
232 views

In bash readline we can delete word before cursor using ctrl+w In vim though, this remap works great however there is a small issue that I am trying to get rid of. Suppose we did the following in vim ...
yousefx0's user avatar
0 votes
1 answer
67 views

I want to do insert mode mappings (like inoremap <C-Right> <C-o>W) that play nice with airline plugins, avoiding "screen blinking", like below. Note the annoying text toggling ...
awvalenti's user avatar
  • 361
1 vote
1 answer
127 views

I am trying to setup some shortcut keys in mutt which composes email using the vim editor. On choosing to compose a new message, the user can enter the recipient(s) and the subject field and the ...
One_Cable5781's user avatar
1 vote
2 answers
408 views

Is it possible to turn vim or neovim to no normal/insert/command/visual mode? Like in micro editor. I just want to open file for editing and type, for example, ctrl+e for command. For example, I want ...
Mihail H.'s user avatar
  • 111
2 votes
1 answer
189 views

Let's assume I am in INSERT mode and my cursor is just after * in the following line. This is * a line of text. I would like to know of some shortcut key or a mapping to insert a new line before this ...
Taimoor Zaeem's user avatar
1 vote
1 answer
144 views

Suppose, we have the following Perl code: sub test { my $a = 1; if ($a == 0) { [cursor] } In Emacs when we click <tab>, it inserts 2 indentations, indenting it according to the if ...
user4035's user avatar
  • 221
2 votes
3 answers
193 views

In insert mode, I want to move between WORDs (like normal mode's big W), so that I can save keystrokes. Specifically, inoremap ., to go left and inoremap ,. to go right. This way I can avoid changing ...
awvalenti's user avatar
  • 361
0 votes
1 answer
80 views

How, in Lua setting file, do we have Neovim insert mode letting backspace to work wherever cursor is not at start of line, but then at the start of line it must by default to do nothing, as it was. ...
user17227456's user avatar
2 votes
1 answer
399 views

In Vim while in the INSERT mode, I would like to be able to move between lines using the left and right arrow keys. For example, if the cursor is at the beginning of a line and I press the left arrow ...
nvx's user avatar
  • 29
2 votes
2 answers
162 views

I want to define insert mode mappings that will jump outside the scope of any delimiter I'm in (forward/backward). Where "delimiter" is in the broad sense of LaTeX delimiters, so not only {},...
Ur Ya'ar's user avatar
  • 127
1 vote
1 answer
350 views

I am using Neovim and I want to go to insert mode at the end of this command. vim.cmd([[command! DunB lua run_only_current_file("below") ]]) I have tried | startinsert and | :startinsert. ...
mohamadi_arch's user avatar
2 votes
3 answers
3k views

I recently learned about view <filename> or [vim_launcher] -R <filename>. While both of these commands are great, they don't actually force Read-only mode, because you can still exit that ...
KhodeNima's user avatar
  • 173
1 vote
1 answer
616 views

I know how to search for text in visual mode in Vim/Neovim. However, I find it unnecessary when I am in insert mode to have to exit it, search and then come back to insert mode. Is there a way to ...
user3236841's user avatar
1 vote
1 answer
83 views

I've just noticed that if the cursor is at the last line of a file and I enter insert mode, then the buffer pans so that the cursorline is at the bottom of the [sub]window, as if in response to a zb ...
user2153235's user avatar

15 30 50 per page
1
2 3 4 5
��
20