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

Add support for Vim keybindings #241

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 10, 2024

  1. Add support for Vim keybindings

    Fixes tareqimbasher#238
    
    Add support for Vim keybindings to the text editor.
    
    * **BuiltinShortcuts**:
      - Add Vim keybindings to `BuiltinShortcuts` in `src/Apps/NetPad.Apps.App/App/src/core/@application/shortcuts/builtin-shortcuts.ts`.
      - Include keybindings for common Vim commands like `Escape`, `:w`, `:q`, and `:wq`.
    
    * **ITextEditorService**:
      - Update `ITextEditorService` interface in `src/Apps/NetPad.Apps.App/App/src/core/@application/editor/itext-editor-service.ts` to include methods for enabling and disabling Vim mode.
    
    * **TextEditor**:
      - Implement methods to enable and disable Vim mode in `TextEditor` class in `src/Apps/NetPad.Apps.App/App/src/core/@application/editor/text-editor.ts`.
      - Use `monaco-vim` library to integrate Vim keybindings with Monaco editor.
    hootanht committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    ae22459 View commit details
    Browse the repository at this point in the history