-
-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Tab to go back to "insert" mode #158
Comments
You can refer to the below: Lines 429 to 448 in 7eada20
e.g., let g:Lf_NormalMap = {
\ "File": [["<tab>", ':exec g:Lf_py "fileExplManager.input()"<CR>']]
\ }
|
Thanks, I'll try that locally, but don't you think it would be interesting to make it by default for everyone? It seems simpler (to me) to have one key to swap between modes. |
I added that in my "" LeaderF
let g:Lf_NormalMap = {
\ "File": [["<ESC>", ':exec g:Lf_py "fileExplManager.quit()"<CR>'],
\ ["<TAB>", ':exec g:Lf_py "fileExplManager.input()"<CR>']
\ ],
\ "Buffer": [["<ESC>", ':exec g:Lf_py "bufExplManager.quit()"<CR>'],
\ ["<TAB>", ':exec g:Lf_py "bufExplManager.input()"<CR>']
\ ],
\ "Mru": [["<ESC>", ':exec g:Lf_py "mruExplManager.quit()"<CR>'],
\ ["<TAB>", ':exec g:Lf_py "mruExplManager.input()"<CR>']
\ ]
\ } It would be nice to have that by default IMHO. Edit: add Buffer and Mru mappings |
Sorry, I am already accustomed to "i", so I don't plan to change it. |
I think adding |
Yep, I also think that adding is better since it doesn't change users habits. |
Just tested on File and Buffer pages, it works super nice, thanks! ;) |
mvim --version
:(There's more information, like patches applied, options enabled by default, etc. I can paste it if you're interested)
:echo has("python")
: 0:echo has("python3")
: 1:echo &pythondll
(only vim, not neovim): "":echo &pythonthreedll
(only vim, not neovim): "":py print(sys.version)
:E319
(command not available):py3 print(sys.version)
:3.6.4 (default, Mar 9 2018, 23:15:03)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)]
Describe your question, feature request, or bug.
It would be nice if it's possible to also press Tab to go back to "insert" mode.
Steps to reproduce
<Leader>F
Actual behaviour
When pressing Tab it does nothing.
Expected behaviour
When pressing Tab it goes back in "insert" mode (as if I pressed i).
The text was updated successfully, but these errors were encountered: