" Call all plugins from a different file script. source $HOME/.config/nvim/vim-plug/plugins.vim syntax on set encoding=utf-8 set tabstop=4 softtabstop=4 set shiftwidth=4 set expandtab set guicursor= set nowrap set nohlsearch set scrolloff=10 set mouse=a set number relativenumber set colorcolumn=80 set signcolumn=yes set smartcase set incsearch colorscheme nord highlight ColorColumn ctermbg=0 guibg=lightgrey highlight Comment cterm=italic gui=italic highlight htmlBold gui=bold guifg=#af0000 ctermfg=green highlight htmlItalic gui=italic guifg=#ff8700 ctermfg=blue " support front matter of various format let g:vim_markdown_frontmatter = 1 " for YAML format let g:vim_markdown_toml_frontmatter = 1 " for TOML format let g:vim_markdown_json_frontmatter = 1 " for JSON format let mapleader = " " "noremap j h "noremap k j "noremap l k "noremap ñ l "noremap k gj "noremap l gk set nocompatible if has("autocmd") filetype plugin indent on endif nmap :NERDTreeToggle nmap :wrap vmap NERDCommenterToggle nmap NERDCommenterToggle " Spellchecking and switch to spanish map :setlocal spell! spelllang=es map :set spelllang=es " Turn on Goyo for readibility and writing nmap :Goyo inoremap pumvisible() ? "\" : "\" inoremap pumvisible() ? "\" : "\" " Map control - backspace to delete work in insert mode inoremap dB inoremap db vnoremap "+y map "+P "Markdown configuration augroup MarkdownConfiguration autocmd BufNewFile,BufRead *.md set linebreak breakindent wrap autocmd BufNewFile,BufRead *.md nnoremap j gj autocmd BufNewFile,BufRead *.md nnoremap k gk "autocmd BufNewFile,BufRead *.md Goyo augroup END let g:lightline = { \ 'colorscheme': 'nord', \ } nmap gh :diffget //3 nmap gu :diffget //2 nmap gs :G " GoTo code navigation. nmap gd (coc-definition) nmap gy (coc-type-definition) nmap gi (coc-implementation) nmap gr (coc-references)