" Smart indent and and better tab length set formatoptions-=cro set tabstop=3 softtabstop=3 set shiftwidth=3 set expandtab set smartindent set nu set relativenumber set nohlsearch set hidden set incsearch set scrolloff=8 set colorcolumn=80 set signcolumn=yes " Remove arrow keys to train my fingers noremap noremap noremap noremap " Set to space nnoremap let mapleader=" " " Grammarous keybindings noremap :GrammarousCheck " Add key bindings for fuzzy finder nnoremap pf Telescope find_files nnoremap pg Telescope live_grep nnoremap pb Telescope buffers nnoremap ph Telescope help_tags call plug#begin('~/.vim/plugged') " Syntax correcting and autocomplete for nvim Plug 'neovim/nvim-lspconfig' Plug 'nvim-lua/completion-nvim' " Grammar checker Plug 'rhysd/vim-grammarous' " Nvim fuzzy finder Plug 'nvim-lua/popup.nvim' Plug 'nvim-lua/plenary.nvim' Plug 'nvim-telescope/telescope.nvim' " Gruvbox colorscheme Plug 'morhetz/gruvbox' " For vim practice Plug 'ThePrimeagen/vim-be-good' call plug#end() " Load the clangd server as the interpreter set completeopt=menuone,noinsert,noselect let g:completion_matching_strategy_list = ['exact', 'substring', 'fuzzy'] " Language server for nvim-lsp lua require'lspconfig'.clangd.setup{on_attach=require'completion'.on_attach} "lua require'lspconfig'.pyls.setup{on_attach=require'completion'.on_attach} " Set colorscheme colorscheme gruvbox set background=dark hi Normal guibg=NONE ctermbg=NONE