From de867b7ff72e867ea1c39932cccd503065f94df0 Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Sun, 24 Sep 2023 19:54:32 +0300 Subject: Added Gummi, Neofetch and NeoVim configuratioons. Changes to be committed: new file: gummi/gummi.ini new file: gummi/snippets.cfg new file: gummi/welcome.tex new file: htop/htoprc new file: neofetch/config.conf new file: nvim/colors/hybrid.vim new file: nvim/init.vim --- nvim/init.vim | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 nvim/init.vim (limited to 'nvim/init.vim') diff --git a/nvim/init.vim b/nvim/init.vim new file mode 100644 index 0000000..5e52d48 --- /dev/null +++ b/nvim/init.vim @@ -0,0 +1,77 @@ +syntax on + +let g:hybrid_custom_term_colors = 1 +set background=dark + +colorscheme hybrid + +set nocompatible +set encoding=utf-8 +set noswapfile + +" CLIPBOARD +set clipboard+=unnamedplus + +" indentation and looks + + " set relativenumber + set number + set smartindent + set smartcase + set incsearch + set incsearch + +" vertical and horizontal splits + set splitbelow splitright + set wildmode=longest + +" tabs and stuff + set tabstop=4 softtabstop=4 + set shiftwidth=4 + set expandtab + +" removing white spaces + autocmd BufWritePre * %s/\s\+$//e + +" disable auto commenting + autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o + +" plugins + call plug#begin('~/.vim/plugged') + + Plug 'vim-airline/vim-airline' + Plug 'vim-airline/vim-airline-themes' + Plug 'preservim/nerdtree' + Plug 'vimsence/vimsence' + + Plug 'neoclide/coc.nvim', {'branch': 'release'} + + call plug#end() + +" air-line +let g:airline_powerline_fonts = 1 +let g:airline_theme='deus' + +inoremap coc#pum#visible() ? coc#pum#confirm() : "\u\" + +" remaps + + " replace all + nnoremap :%s//g + + " vim tree + nnoremap \ :NERDTreeToggle + + " spell check + map S :setlocal spell! spelllang=en_us + +" movement + map J k + map K j + +"""NeoVide +if exists("g:neovide") + set guifont="Inconsolata Nerd:h14" + "let g:neovide_transparency = 0.8 + let g:neovide_cursor_vfx_mode = "pixiedust" +endif -- cgit v1.2.3