You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great work on Vintageous btw, it was the straw that converted me to ST3 👍
I'm trying to carry over the concept of to Vintageous purely through key mappings. I use "," as and have a number of keys mapped as
[",", "t"] or [",", "i"]
unfortunately this causes Vintageous to wait for another character if "," is the last key in a command.
Say deleting a line up to & including ","
When I press "cf," the comma isn't registered, I have to press comma again for it to work. I suspect Vim has a keypress delay that's used to gauge whether it's a , or a command that ends on the key.
Is there anyway this could be fixed in Vintageous?
The text was updated successfully, but these errors were encountered:
let mapleader=,
" Visually select all content
nnoremap cf<leader> ggvG
Currently you can only map to commands that Neovintageous understands and can't yet map to ex mode commands nnoremap cf<leader> :w. This will be implemented hopefully by v1.5.
@johnathanz This has been fixed in the latest 1.4.0 release (NeoVintageous is a fork of the discontinued Vintageous plugin):
The issue with Sublime Text mappings is they circumvent NeoVintageous. NeoVintageos remaps keys, but when you create a mapping like [",", "t"] and then press ,, ST sees that key is ambiguous so it has to wait for the key press.
The way to fix this is to create mappings in your vintageousrc file so that the key presses are registered with Neovintageous.
Mapping to Command-line mode commands is supported for basic use-cases: >
:command
Mapping to Sublime Text commands is supported for basic use-cases. The command
must start an Uppercase letter to avoid confusion with built-in Command-line
mode commands. The command is converted to snake_case. For example to map to
the Sublime Text command "toggle_side_bar": >
:ToggleSideBar
Here is an example |vintageousrc| file: >
" The character " (the double quote mark) starts a comment
let mapleader=,
" Enter command line mode.
nnoremap <space> :
" Toggle the side bar.
nnoremap <leader>d :ToggleSideBar<CR>
Issue by johnathanz
Tuesday Sep 30, 2014 at 14:43 GMT
Originally opened as guillermooo/Vintageous#741
Great work on Vintageous btw, it was the straw that converted me to ST3 👍
I'm trying to carry over the concept of to Vintageous purely through key mappings. I use "," as and have a number of keys mapped as
[",", "t"] or [",", "i"]
unfortunately this causes Vintageous to wait for another character if "," is the last key in a command.
Say deleting a line up to & including ","
When I press "cf," the comma isn't registered, I have to press comma again for it to work. I suspect Vim has a keypress delay that's used to gauge whether it's a , or a command that ends on the key.
Is there anyway this could be fixed in Vintageous?
The text was updated successfully, but these errors were encountered: