" Begin Plugin section if ! filereadable(expand('~/.config/nvim/autoload/plug.vim')) echo "Downloading junegunn/vim-plug to manage plugins..." silent !mkdir -p ~/.config/nvim/autoload/ silent !curl "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > ~/.config/nvim/autoload/plug.vim endif call plug#begin('~/.config/nvim/plugged') Plug 'qpkorr/vim-renamer' Plug 'tomasiser/vim-code-dark' call plug#end() " End Plugin section let mapleader ="," set go=a set mouse=a set ignorecase " Some basics: nnoremap c "_c set nocompatible filetype plugin on syntax on set encoding=utf-8 set number relativenumber " Enable autocompletion: set wildmode=longest,list,full " Disables automatic commenting on newline: autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o " Setting Tab-length set tabstop=4 set softtabstop=4 set shiftwidth=4 colorscheme codedark " Splits open at the bottom and right, which is non-retarded, unlike vim defaults. set splitbelow splitright " Mapping Dictionaries map :setlocal spell! spelllang=de map :set spelllang=en_us """ Shortcuts " Navigating with guides inoremap /<++>"_c4l vnoremap /<++>"_c4l map /<++>"_c4l " Navigating with guides inoremap /<++>"_c4l vnoremap /<++>"_c4l map /<++>"_c4l """HTML autocmd BufRead,BufNewFile *.html set filetype=html autocmd FileType html inoremap ,b <++>FbT>i autocmd FileType html inoremap ,it <++>FeT>i autocmd FileType html inoremap ,1

<++>2kf<++>2kf<++>2kf

<++>02kf>a autocmd FileType html inoremap ,a href=""><++><++>14hi autocmd FileType html inoremap ,e target="_blank"href=""><++><++>14hi autocmd FileType html inoremap ,ul
<++>03kfo
  • F>a autocmd FileType html inoremap ,ol
    <++>03kf<++>Fcf"a autocmd FileType html inoremap & & autocmd FileType html inoremap ä ä autocmd FileType html inoremap ö ö autocmd FileType html inoremap ü ü autocmd FileType html inoremap Ä Ä autocmd FileType html inoremap Ö Ö autocmd FileType html inoremap Ü Ü " Delete trailing whitespaces on save autocmd BufWritePre * %s/\s\+$//e