Skip to content
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

Throw away the mouse #2922

Closed
trev-dev opened this issue Jul 31, 2018 · 3 comments
Closed

Throw away the mouse #2922

trev-dev opened this issue Jul 31, 2018 · 3 comments

Comments

@trev-dev
Copy link

I left VSCode a long while ago to enjoy learning Vim. Coming back to VSCode lately, I find this plugin indispensable.

So thank you!!

This may be a redundant request. As a matter of fact, it may already be doable with VSCode keybinds, but if it isn't, I'd like to be able to toss the mouse out. So far this means:

  • Being able to use CTRL-W to move in and out of the file explorer, also, in and out of the terminal/problems drawer using something like CTRL-W l/CTRL-W k
  • Being able to create (touch), delete, move and copy files from the explorer (nerd-tree like features)
  • Being able to switch open files as though I were switching buffers (:bn :bp :b) and possibly keybind these to a leader command.
  • All the other things that I would have to grab a mouse for in VSCode that I wouldn't have to in Vim/Emacs. I'm sure I'll think of them later.

I appreciate your time!

I'll be exploring the native VSCode keybindings until then. Useful links/suggestions are most welcome.

@Ebuall
Copy link

Ebuall commented Jul 31, 2018

There is no problem in switching between files, but it's vscode specific build in hotkey (ctrl+tab, ctrl+p should do the job).

On the other hand I found annoying, that extension uses notifications, you can't get rid of without a mouse. For example "not implemented" error or if you use ":e" to create a file it shows notifications with button "create file", that only reachable with a mouse.

@crinklywrappr
Copy link

crinklywrappr commented Aug 6, 2018

I created these settings over the weekend and you may find them a good starting point.

https://github.com/doubleagent/vscode-settings

keybindings.json has a number of things you're asking about (although I now see that I need to revisit the "when" clauses on some of them - they need to be more restrictive).

settings.json has some bindings defined for managing split-screen "buffers". Look at all the "<leader>", "w", "<leader>", "[sS]" keybindings, and also "<leader>", "0-9". It's configured to put you right at home if you're used to spacemacs.

Also in settings.json check out the "<leader>", "t" keybindings for managing the sidebar and "<leader>", "'" for pulling up the terminal.

@trev-dev
Copy link
Author

Closing issue as it's a suggestion that we can work around on our own (more or less). Thanks for the input people!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants