Skip to content

Customized NeoVim setup for enhanced VueJS, TailwindCSS, and TypeScript development, featuring integrated tools like Prettier and ESLint, along with a suite of efficient keyboard shortcuts for streamlined coding workflows.

Notifications You must be signed in to change notification settings

FlorianBx/nvim_config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FBNeoVim Configuration for VueJS/TailwindCSS/TypeScript Web Development

Nvim Preview

This project contains a customized NeoVim setup, tailored for web development with VueJS, TailwindCSS, TypeScript, Prettier, and ESLint.

Key Features

  • Full support for:
  • Integration with Prettier and ESLint for standardized and clean code
  • Custom keyboard shortcuts for efficient navigation and editing

Installation

  1. Clone this repository into your NeoVim configuration directory.
  2. Install the required plugins using lazy.nvim plugins manager.
  3. Restart NeoVim to apply the changes.

Keyboard Shortcuts

Enhance your development efficiency with these intuitive shortcuts:

NeoVim Keymaps

  • Quick Actions:
    • jj in insert mode to escape to normal mode.
    • <leader>eq to quit and <leader>ew to save.
  • Tabs and Window Management:
    • ss for horizontal split, sv for vertical split.
  • Search and Rename:
    • sf to search files with Telescope.
    • <leader>rn to rename symbols.
  • Treesitter Keymaps:
    • Custom text objects like e=, n=, a:, aa, etc. for enhanced code manipulation.
  • Maximizer:
    • <leader>sm to toggle maximizer.
  • Document the code
    • <leader>ng

vim-visual-multi Keybindings

Extend your multi-cursor editing capabilities with vim-visual-multi, enabling you to select and edit multiple instances of text simultaneously.

  • Start Multi-Cursor Selection:
    • <C-n> to start selecting instances of the word under the cursor. Press <C-n> again to select the next occurrence.
  • Skip and Remove Selections:
    • <C-x> to skip the current occurrence and move to the next.
    • <C-p> to remove the last selected occurrence from the selection.
  • Select All Occurrences:
    • <C-Down> to select all occurrences of the word under the cursor in the visible window.
  • Vertical Block Selection:
    • <C-v> to start vertical block selection, allowing column-based text selection.
  • Navigate Selections:
    • n and N to navigate through the selections forward and backward, respectively.
  • Visual Multi Commands:
    • While in visual multi mode, you can use normal mode commands to edit text, such as d to delete selections or c to change them.

For more detailed usage and commands, check the vim-visual-multi documentation.

tmux Keybindings

  • Window and Pane Management:
    • C-a as the prefix.
    • | and - to split windows horizontally and vertically.
    • r to reload tmux configuration.
    • j, k, l, h to resize panes.
    • m to toggle pane zoom.
  • Mouse Support:
    • Mouse mode enabled for easy window and pane management.
  • Copy Mode:
    • v to start selection and y to copy in vi mode.
  • TMUX Plugins:
    • Plugins like vim-tmux-navigator, and tmux-continuum for enhanced functionality.

Customization

Feel free to add or modify shortcuts in the keymaps.lua file. Default shortcuts are loaded on the VeryLazy event.

Contributing

Your ideas and contributions are welcome! Create an issue or a pull request with your suggestions.

License

Licensed under the MIT License. See LICENCE for details.

About

Customized NeoVim setup for enhanced VueJS, TailwindCSS, and TypeScript development, featuring integrated tools like Prettier and ESLint, along with a suite of efficient keyboard shortcuts for streamlined coding workflows.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages