summaryrefslogtreecommitdiff
path: root/config/old/vim/vimrc
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-23 15:34:28 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-23 15:34:28 +0200
commitb8b9167a90da448acd29d96c12d1951f0f5d2635 (patch)
tree565530513a89e2799c6e521942a17a94d03c240b /config/old/vim/vimrc
parente7a8f2ca9e806f8ba211c765a244e57579f26bd9 (diff)
renamed vimrc to .vimrc
Diffstat (limited to 'config/old/vim/vimrc')
-rwxr-xr-xconfig/old/vim/vimrc117
1 files changed, 0 insertions, 117 deletions
diff --git a/config/old/vim/vimrc b/config/old/vim/vimrc
deleted file mode 100755
index 03aebfe..0000000
--- a/config/old/vim/vimrc
+++ /dev/null
@@ -1,117 +0,0 @@
-" Heh
-
-filetype plugin indent on
-
-syntax on
-
-set runtimepath+=~/.config/vim,~/.config/vim/after
-set viminfo+=n~/.config/vim/viminfo
-" Plugins
-" s;https://github.com/\(.*\);Plug '\1';
-call plug#begin('~/.vim/plugged')
-Plug 'LordTlasT/live-server'
-Plug 'tpope/vim-endwise'
-Plug 'airblade/vim-gitgutter'
-Plug 'arcticicestudio/nord-vim'
-Plug 'godlygeek/tabular'
-Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
-Plug 'junegunn/fzf.vim'
-Plug 'michaeljsmith/vim-indent-object'
-Plug 'tpope/vim-capslock'
-Plug 'tpope/vim-commentary'
-Plug 'tpope/vim-fugitive'
-Plug 'tpope/vim-repeat'
-Plug 'tpope/vim-surround'
-Plug 'tpope/vim-vinegar'
-Plug 'yuezk/vim-js'
-call plug#end()
-
-set termguicolors " amazing!
-set signcolumn=yes " GitGutter
-set updatetime=100
-
-set tabstop=4 shiftwidth=4 " Turn tab to spaces
-set backspace=2 backspace=indent,eol,start " Turn backspaces into tabspaces
-set incsearch " Incremental search
-set clipboard=unnamed " Use system primary clipboard
-
-set number " Set (absolute) line numbers
-set relativenumber " make them hybrid
-set showmatch " Show matching bracket
-set showcmd " Show partial command in status line
-set laststatus=2 " show more status/file info
-set cursorline " Highlight line at cursor
-set ruler " Show cursor and progress in file
-set wildmenu " Show command options (autocomplete)
-
-set mouse= "nomouse
-set encoding=utf-8 " Set encoding
-set history=200 " Keep a lot more command history
-
-""""""""""""COLORSCHEME"""""""""""""""""""""""
-colo nord
-hi! Normal ctermbg=NONE guibg=NONE
-hi! NonText ctermbg=NONE guibg=NONE
-"""""""""""""""""""""""""""""""""""""""""""""
-
-let &t_SI = "\e[6 q" " Insert cursor
-let &t_EI = "\e[2 q" " Normal cursor
-
-let ghregex='\(^\|\s\s\)\zs\.\S\+' " Start netrw with dotfiles hidden
-let g:netrw_list_hide=ghregex
-
-let g:indentLine_fileTypeExclude = ['dashboard'] " No indentline on dashboard
-
-""""""""""""""""""" FUNCTIONS AND COMMANDS
-" Force quit faster
-command Q execute 'quit!'
-
-" autocomment z80
-autocmd FileType z80 setlocal commentstring=;\ %s
-
-" Return to last edit position
-autocmd BufReadPost *
- \ if line("'\"") > 1 && line("'\"") <= line("$") |
- \ exe "normal! g`\"" |
- \ endif
-
-augroup nvim_term
- autocmd!
- autocmd TermOpen * startinsert
- autocmd TermOpen * :setlocal nonumber norelativenumber signcolumn=no
-augroup END
-
-" Toggle status bar
-let s:hidden_all = 0
-function! ToggleHiddenAll()
- if s:hidden_all == 0
- let s:hidden_all = 1
- set noshowmode noruler nonu nornu laststatus=0 noshowcmd signcolumn=no
- else
- let s:hidden_all = 0
- set showmode ruler nu rnu laststatus=2 showcmd signcolumn=yes
- endif
-endfunction
-
-
-""""""""""""""""""""" MAPPINGS """"""""""""""""""""""""
-let mapleader = ' '
-
-" Windows
-noremap <A-h> <C-W>h
-noremap <A-j> <C-W>j
-noremap <A-k> <C-W>k
-noremap <A-l> <C-W>l
-noremap <A-o> <C-W>o
-nnoremap <C-H> :call ToggleHiddenAll()<CR>
-
-" Closing brackets and quotes
-inoremap " ""<left>
-inoremap ' ''<left>
-inoremap ` ``<left>
-inoremap ( ()<left>
-inoremap [ []<left>
-inoremap { {}<left>
-
-" goto buffer
-nnoremap gb :buffers<CR>:buffer<Space>