This configuration works in Linux and Wondows Machine.
- Go to
/.config
directory - clone this repo using
git clone https://github.com/surajitbasak109/nvim-minimal-config
- it will create
nvim-minimal-config
directory inside the/.config
directory - Rename the directory to
nvim
so command would bemv nvim-minimal-config nvim
- Now open terminal and run the nvim or vim command
- It might show some warning messages though, so you have to install some plugins using below command in normal mode
:PlugInstall
- Wait for some time to install them (those plugins will be installed in
~/.vim
directory ) - Now restart your nvim or vim program
- Open Power Shell or command prompt
- Change directory to
~/AppData/Local
- clone this repo in that directory
- it will create
nvim-minimal-config
directory inside it - Now rename that directory to
nvim
and you are done - Now run the
nvim
command to open neo vim - It might show some warning messages though, so you have to install some plugins using below command in normal mode
:PlugInstall
- Wait for some time to install them (those plugins will be installed in
~/.vim
directory ) - Now restart your nvim or vim program
- Leader key is
space
(see in vimrcs/keymaps.vim) - Highlight Matching tags for HTML/XML
- Code Intellisense using coc
- Code formatting using ale ,prettier and phpcbf
- Open all opened buffers using leader-o
- File manager for current project on right side (NerdTree)
- Easy comment using
++
key combination - Faster file opening with
ctrl-p
like VSCode (requires silverline-ag)
Plugins | Description |
---|---|
CamelCaseMotion | A vim script to provide CamelCase motion through words (fork of inkarkat's camelcasemotion script) |
ack | Vim plugin for the Perl module / CLI script 'ack' |
ag | Vim plugin for the_silver_searcher, 'ag', a replacement for the Perl module / CLI script 'ack' |
ale | Check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP) support |
auto-pairs | Vim plugin, insert or delete brackets, parens, quotes in pair |
bclose | The BClose Vim plugin for deleting a buffer without closing the window |
BufExplorer | BufExplorer Plugin for Vim |
Coc-tailwindcss | Coc.nvim extension for Tailwind CSS IntelliSense |
Coc-Tailwind-Intellisense | tailwindcss class name completion for (neo)vim |
Coc-Vetur | Vue language server extension for coc.nvim |
coc.nvim | Intellisense engine for Vim8 & Neovim, full language server protocol support as VSCode |
editorconfig-vim | Configure your editor |
emmet-vim | provides support for expanding abbreviations |
fzf | A command-line fuzzy finder |
fzf.vim | Awesome Plugin for file,buffer,color etc. searching See more info... |
golden-ratio | Automatic resizing of Vim windows to the golden ratio |
gv.vim | A git commit browser in Vim |
indentLine | A vim plugin to display the indention levels with thin vertical lines |
lightline.vim | A light and configurable statusline/tabline plugin for Vim |
nerdcommenter | Vim plugin for intensely nerdy commenting powers |
nerdtree | A tree explorer plugin for vim. |
palenight.vim | Soothing color scheme for your favorite [best] text editor |
papercolor-theme | Light & Dark Vim color schemes inspired by Google's Material Design |
pdv https://github.com/tobyS/pdv | PHP Documentor for VIM - Generates PHP docblocks |
phpactor | PHP completion, refactoring, introspection tool and language server. |
ranger.vim | Ranger integration in vim and neovim |
targets.vim | Vim plugin that provides additional text objects |
the_silver_searcher | A code-searching tool similar to ack, but faster. |
typescript-vim | Typescript syntax files for Vim |
ultisnipes | UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips! |
vim-blade | Vim syntax highlighting for Blade templates. |
vim-bookmarks | Vim bookmark plugin |
vim-devicons | Adds file type icons to Vim plugins such as: NERDTree, vim-airline, CtrlP, unite, Denite, lightline, vim-startify and many more |
vim-easymotion | Vim motions on speed! |
vim-fugitive | fugitive.vim: A Git wrapper so awesome, it should be illegal |
vim-gitgutter | A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks. |
vim-jsx-typescript | React JSX syntax highlighting for vim and Typescript |
vim-multiple-cursors | True Sublime Text style multiple selections for Vim |
vim-nerdtree-tabs | NERDTree and tabs together in Vim, painlessly |
vim-polyglot | A solid language pack for Vim. |
vim-signify | Show a diff using Vim its sign column. |
vim-snippets | vim-snipmate default snippets (Previously snipmate-snippets) |
vim-startify | The fancy start screen for Vim. |
vim-surround | surround.vim: quoting/parenthesizing made simple |
vim-closetag | Auto close (X)HTML tags |
vim-commentary | commentary.vim: comment stuff out |
vim-csscomb | CSScomb plugin for Vim. Tool for sorting CSS properties in specific order. |
vim-gitbranch | Provides the branch name of the current git repository |
vim-javascript | Vastly improved Javascript indentation and syntax support in Vim. |
Plugin | Description |
---|---|
vim-abolish | abolish.vim: easily search for, substitute, and abbreviate multiple variants of a word |
vim-bbye | Delete buffers and close files in Vim without closing your windows or messing up your layout. Like Bclose.vim, but rewritten and well maintained. |
vim-highlightedyank | Make the yanked region apparent! |
vim-import-cost | weight_lifting_man Display the import size of the JavaScript packages in Vim! |
gruvbox | Retro groove color scheme for Vim |
Command | List |
---|---|
:Files [PATH] |
Files (runs $FZF_DEFAULT_COMMAND if defined) |
:GFiles [OPTS] |
Git files (git ls-files ) |
:GFiles? |
Git files (git status ) |
:Buffers |
Open buffers |
:Colors |
Color schemes |
:Ag [PATTERN] |
[ag][ag] search result (ALT-A to select all, ALT-D to deselect all) |
:Rg [PATTERN] |
[rg][rg] search result (ALT-A to select all, ALT-D to deselect all) |
:Lines [QUERY] |
Lines in loaded buffers |
:BLines [QUERY] |
Lines in the current buffer |
:Tags [QUERY] |
Tags in the project (ctags -R ) |
:BTags [QUERY] |
Tags in the current buffer |
:Marks |
Marks |
:Windows |
Windows |
:Locate PATTERN |
locate command output |
:History |
v:oldfiles and open buffers |
:History: |
Command history |
:History/ |
Search history |
:Snippets |
Snippets ([UltiSnips][us]) |
:Commits |
Git commits (requires [fugitive.vim][f]) |
:BCommits |
Git commits for the current buffer |
:Commands |
Commands |
:Maps |
Normal mode mappings |
:Helptags |
Help tags 1 |
:Filetypes |
File types |