Added installation script

This commit is contained in:
Јован Ђокић-Шумарац 2023-07-24 22:59:36 +02:00
parent 32fda7e904
commit a14fdcb515
3 changed files with 85 additions and 24 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
UltiSnips/*
UltiSnips/

View file

@ -1 +1,14 @@
Test ▄▄▄█████▓ ██▀███ ██▓▒██ ██▒▓██ ██▓
▓ ██▒ ▓▒▓██ ▒ ██▒▓██▒▒▒ █ █ ▒░ ▒██ ██▒
▒ ▓██░ ▒░▓██ ░▄█ ▒▒██▒░░ █ ░ ▒██ ██░
░ ▓██▓ ░ ▒██▀▀█▄ ░██░ ░ █ █ ▒ ░ ▐██▓░
▒██▒ ░ ░██▓ ▒██▒░██░▒██▒ ▒██▒ ░ ██▒▓░
▒ ░░ ░ ▒▓ ░▒▓░░▓ ▒▒ ░ ░▓ ░ ██▒▒▒
░ ░▒ ░ ▒░ ▒ ░░░ ░▒ ░ ▓██ ░▒░
░ ░░ ░ ▒ ░ ░ ░ ▒ ▒ ░░
░ ░ ░ ░ ░ ░
░ ░
Trtixy is a begginer friendy config for nevim, that aims to be powerfull while
remaining minimal, compared to other nvim distributions.

View file

@ -1,28 +1,49 @@
set nocompatible " disable compatibility to old-time vi
set showmatch " show matching " ███ ▄████████ ▄█ ▀████ ▐████▀ ▄██ ▄
set mouse=v " middle-click paste with " ▀█████████▄ ███ ███ ███ ███▌ ████▀ ███ ██▄
set hlsearch " highlight search " ▀███▀▀██ ███ ███ ███▌ ███ ▐███ ███▄▄▄███
set incsearch " incremental search " ███ ▀ ▄███▄▄▄▄██▀ ███▌ ▀███▄███▀ ▀▀▀▀▀▀███
set tabstop=16 " number of columns occupied by a tab " ███ ▀▀███▀▀▀▀▀ ███▌ ████▀██▄ ▄██ ███
set softtabstop=4 " see multiple spaces as tabstops so <BS> does the right thing " ███ ▀███████████ ███ ▐███ ▀███ ███ ███
set shiftwidth=4 " width for autoindents " ███ ███ ███ ███ ▄███ ███▄ ███ ███
set autoindent " indent a new line the same amount as the line just typed " ▄████▀ ███ ███ █▀ ████ ███▄ ▀█████▀
set number relativenumber " add line numbers " ███ ███
set wildmode=longest,list " get bash-like tab completions
set cc=80 " set an 80 column border for good coding style
" __ ___ ___ __
" / _` |__ |\ | |__ |__) /\ |
" \__> |___ | \| |___ | \ /~~\ |___
set nocompatible
set showmatch
set hlsearch
set incsearch
set tabstop=16
set softtabstop=4
set shiftwidth=4
set autoindent
set number relativenumber
set wildmode=longest,list
set cc=80
filetype off filetype off
let &runtimepath.=',~/.vim/bundle/neoterm' let &runtimepath.=',~/.vim/bundle/neoterm'
filetype plugin on filetype plugin on
filetype plugin indent on "allow auto-indenting depending on file type filetype plugin indent on
syntax on " syntax highlighting syntax on
set mouse=a " enable mouse click set mouse=v
set clipboard=unnamedplus " using system clipboard set mouse=a
set ttyfast " Speed up scrolling in Vim set clipboard=unnamedplus
set cursorline " highlight current cursorline set ttyfast
set cursorline
set splitbelow set splitbelow
set undofile set undofile
@ -31,7 +52,14 @@ set autochdir
set signcolumn=yes:1 set signcolumn=yes:1
" PLUGINS
" __ __ __
" |__) | | | / _` | |\ | /__`
" | |___ \__/ \__> | | \| .__/
call plug#begin() call plug#begin()
@ -80,7 +108,12 @@ call plug#end()
" ULTISNIPS
" __ __ __ ___ ___ __
" /__` |\ | | |__) |__) |__ | /__`
" .__/ | \| | | | |___ | .__/
let g:UltiSnipsExpandTrigger="<tab>" let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="jk" let g:UltiSnipsJumpForwardTrigger="jk"
@ -93,7 +126,13 @@ let g:UltiSnipsEditSplit = 'context'
" COLORSCHEME
" __ __ __ __ __ __ ___ ___
" / ` / \ | / \ |__) /__` / ` |__| |__ |\/| |__
" \__, \__/ |___ \__/ | \ .__/ \__, | | |___ | | |___
set termguicolors set termguicolors
set background=dark set background=dark
@ -107,7 +146,11 @@ colorscheme onedark
" KEYMAPS
" ___ __ __ __
" |__/ |__ \ / |__) | |\ | | \ /__`
" | \ |___ | |__) | | \| |__/ .__/
let mapleader=" " let mapleader=" "
@ -142,7 +185,10 @@ sunmap ge
" LUA SHIT " inevitable.....
" | | | /\
" |___ \__/ /~~\
lua << EOF lua << EOF