-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
vimrc support #4456
Comments
Thanks for the suggestion @bluc41! Supporting all of If so, would you mind giving me some examples of things you use, and I'll see if we can figure out how to make them work in Zed. What other things do you really want from there? |
Yea totally understand -- was just thinking about lowering onboarding friction. I love that y'all start with a base set of key bindings, makes it really easy to switch to Zed. My personal needs are fairly simple, I map ctrl-j to 5j (down 5 lines) for fast nav, jk to go back to normal mode, etc. I poked around the vim.json but couldn't figure out how to bind something to repeat an action. |
I've been using Zed and it's an awesome editor, but it seems that the keybinding features are quite limited right now. Would it be easy to allow for chaining multiple commands? This way, people could replicate special functions with arrays of commands. So for example, to comment out a paragraph, we would map If we could map a keybinding to an arbitrary sequence of keypresses that might work as well. |
Yup! This is tracked at #7033. If you’d like to work on it with me, feel free to book time at https://calendly.com/conradirwin/pairing |
Hi! I too would love to have a configurable |
Nevermind, I just found out that I can actually do what I want with zed keybindings (https://zed.dev/docs/vim). Sorry for not reading docs earlier, with the issue being open I thought that this wouldn't be possible. |
I'd love to be able to use my vimrc file, too. Some of my most important stuff: nnoremap U <C-r>
noremap ' `
noremap - ^
nnoremap = $
vnoremap = $h
onoremap = $
noremap H <C-b>
noremap M zz
noremap L <C-f>
noremap _ g~l
nnoremap <Tab> "_
imap jk <Esc>
nnoremap K kJ
set clipboard=unnamed,unnamedplus |
it's really hard to move from vim/neovim if it's not something like gvim inside the editor; until that happens I'm going to stick with just good old vim |
Check for existing issues
Describe the feature
Being able to point to a .vimrc file and have vim mode use those bindings
If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: