### Example: Set 300ms Delay and 30 Repetitions per Second (xset r rate 300 30) Source: https://neovintageous.github.io/faq This example sets a 300 millisecond delay before repeating and a repetition rate of 30 repetitions per second on X11 systems. ```bash xset r rate 300 30 ``` -------------------------------- ### Manual Git installation on Windows Source: https://neovintageous.github.io/guide/getting-started Clone the NeoVintageous repository into the Sublime Text Packages directory on Windows. ```powershell git clone https://github.com/NeoVintageous/NeoVintageous.git "%APPDATA%\Sublime Text\Packages\NeoVintageous" ``` -------------------------------- ### Console output for show_overlay command Source: https://neovintageous.github.io/reference/key-mapping Example console output when running the 'Goto Symbol' command, showing the command name and arguments. ```text command: show_overlay {"overlay": "goto", "text": "@"} ``` -------------------------------- ### Enable pre-releases in Package Control settings Source: https://neovintageous.github.io/guide/getting-started Add the install_prereleases setting to the Package Control user settings file to enable pre-release installation for NeoVintageous. ```json { "install_prereleases": [ "NeoVintageous" ] } ``` -------------------------------- ### Install flake8 and mypy Source: https://neovintageous.github.io/contributing Command to install the code quality tools used by NeoVintageous: flake8, flake8-docstrings, pydocstyle, and mypy. ```bash pip3 install flake8 flake8-docstrings pydocstyle mypy ``` -------------------------------- ### Manual Git installation on macOS Source: https://neovintageous.github.io/guide/getting-started Clone the NeoVintageous repository into the Sublime Text Packages directory on macOS. ```bash git clone https://github.com/NeoVintageous/NeoVintageous.git ~/Library/Application\ Support/Sublime\ Text/Packages/NeoVintageous ``` -------------------------------- ### Delegate CTRL-w in Insert and Visual modes with vintageous_handle_keys Source: https://neovintageous.github.io/reference/settings Use mode prefixes like i_ and v_ to delegate keys only in specific modes. This example delegates in Insert and Visual modes. ```json "vintageous_handle_keys": { "i_": false, "v_": false } ``` -------------------------------- ### Manual Git installation on Linux Source: https://neovintageous.github.io/guide/getting-started Clone the NeoVintageous repository into the Sublime Text Packages directory on Linux. Uses the XDG_CONFIG_HOME environment variable with a fallback to ~/.config. ```bash git clone https://github.com/NeoVintageous/NeoVintageous.git "${XDG_CONFIG_HOME:-$HOME/.config}/sublime-text/Packages/NeoVintageous" ``` -------------------------------- ### Open KDE Keyboard Settings (systemsettings5 kcm_keyboard) Source: https://neovintageous.github.io/faq Run this command to open the KDE keyboard settings window, where you can change the 'Delay' and 'Rate' settings as required. ```bash systemsettings5 kcm_keyboard ``` -------------------------------- ### Determine default input method - xkb-switch Source: https://neovintageous.github.io/plugins/input-method Command to query the current XKB layout when using xkb-switch. Run after switching to English to determine the default value. ```sh xkb-switch ``` -------------------------------- ### NeoVintageous settings for qdbus (KDE) Source: https://neovintageous.github.io/plugins/input-method JSON settings for using qdbus with KDE as the input method switcher. Set the default to the English layout index and provide the get/set commands. ```json { "vintageous_auto_switch_input_method": true, "vintageous_auto_switch_input_method_default": "0", "vintageous_auto_switch_input_method_get_cmd": "/usr/bin/qdbus org.kde.keyboard /Layouts getLayout", "vintageous_auto_switch_input_method_set_cmd": "/usr/bin/qdbus org.kde.keyboard /Layouts setLayout {im}" } ``` -------------------------------- ### Configure Keyboard Repeat Interval and Delay on Ubuntu (gsettings) Source: https://neovintageous.github.io/faq Run these two gsettings commands to set the keyboard repeat interval to 15 and delay to 180 milliseconds on Ubuntu. Adjust the values as needed for your preference. ```bash gsettings set org.gnome.desktop.peripherals.keyboard repeat-interval 15 ``` ```bash gsettings set org.gnome.desktop.peripherals.keyboard delay 180 ``` -------------------------------- ### NeoVintageous settings for gdbus (im-get/im-set) Source: https://neovintageous.github.io/plugins/input-method JSON settings for using the gdbus scripts (im-get and im-set) as the input method switcher. Set the default to the English layout index and provide the paths to the scripts. ```json { "vintageous_auto_switch_input_method": true, "vintageous_auto_switch_input_method_default": "0", "vintageous_auto_switch_input_method_get_cmd": "/path/to/im-get", "vintageous_auto_switch_input_method_set_cmd": "/path/to/im-set {im}" } ``` -------------------------------- ### Map ,f to ShowOverlay command Source: https://neovintageous.github.io/reference/key-mapping Maps ,f to the Sublime Text show_overlay command with arguments overlay=goto and text=@. Sublime Text commands must be PascalCase and parameters space separated. ```vim nnoremap ,f :ShowOverlay overlay=goto text=@ ``` -------------------------------- ### File-type specific mapping with FileType keyword Source: https://neovintageous.github.io/reference/key-mapping Maps 'gd' to the 'lsp_symbol_definition' command for *.go and *.html files. The FileType keyword must appear right after the command, before any other arguments. ```vim nnoremap FileType go,html gd :LspSymbolDefinition ``` -------------------------------- ### Map to GotoSymbolInProject Source: https://neovintageous.github.io/reference/key-mapping Add this line to your neovintageousrc file to map the Super key (Windows key or Command key on Mac) plus 'i' to the goto_symbol_in_project command. ```vim nnoremap :GotoSymbolInProject ``` -------------------------------- ### Determine default input method - gdbus (im-get) Source: https://neovintageous.github.io/plugins/input-method Command to query the current input method using the im-get script. Run after switching to English to determine the default value. ```sh im-get ``` -------------------------------- ### NeoVintageous settings for Windows im-select Source: https://neovintageous.github.io/plugins/input-method JSON settings for using im-select on Windows as the input method switcher. Set the default to the English layout identifier and provide the get/set commands. ```json { "vintageous_auto_switch_input_method": true, "vintageous_auto_switch_input_method_default": "1033", "vintageous_auto_switch_input_method_get_cmd": "D:\\bin\\im-select.exe", "vintageous_auto_switch_input_method_set_cmd": "D:\\bin\\im-select.exe {im}" } ``` -------------------------------- ### Determine default input method - fcitx Source: https://neovintageous.github.io/plugins/input-method Command to query the current input method when using fcitx. Run after switching to English to determine the default value. ```sh fcitx-remote ```