Update VIM

This commit is contained in:
2021-12-10 19:54:15 +00:00
parent d6e95c8b00
commit 9e402cdd77
6 changed files with 53 additions and 26 deletions
-19
View File
@@ -1,19 +0,0 @@
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-sensible'
Plug 'blackbirdtheme/vim'
Plug 'sheerun/vim-polyglot'
Plug 'epmor/hotline-vim'
call plug#end()
" Rules
set tabstop=2
set et
%retab!
" Colors
syntax enable
set background=dark
set background=dark
colorscheme blackbird
+3 -1
View File
@@ -5,4 +5,6 @@ sudo apt update
sudo apt upgrade
# Install
sudo apt install build-essential unrar vim git cmake
sudo apt install build-essential unrar vim git cmake neovim
echo "alias vim=nvim" >> ~/.bashrc
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
cd ./scripts
# Install Plugin Manager
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
cp ./vimrc-plugins ~/.config/nvim/init.vim
vim +"PlugInstall --sync" +qa
# Setup Configuration
cat ./vimrc-config >> ~/.config/nvim/init.vim
+27
View File
@@ -0,0 +1,27 @@
" General
set number
set linebreak
set showbreak=+++
set textwidth=80
set showmatch
set visualbell
set hlsearch
set smartcase
set ignorecase
set incsearch
set autoindent
set shiftwidth=2
set smartindent
set smarttab
set softtabstop=2
set et
%retab!
set ruler
set undolevels=1000
set backspace=indent,eol,start
" Colors
syntax enable
set background=dark
colorscheme delek
+11
View File
@@ -0,0 +1,11 @@
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-sensible'
Plug 'blackbirdtheme/vim'
"Plug 'sheerun/vim-polyglot'
"Plug 'epmor/hotline-vim'
Plug 'preservim/nerdtree', { 'on': 'NERDTreeToggle' }
call plug#end()