dotfiles/.config/nvim/init.vim

52 lines
939 B
VimL
Raw Normal View History

2020-12-14 05:35:11 +00:00
call plug#begin()
Plug 'ctrlpvim/ctrlp.vim'
Plug 'vimwiki/vimwiki'
2020-12-31 15:59:16 +00:00
Plug 'mhinz/vim-startify'
Plug 'jiangmiao/auto-pairs'
2021-05-22 17:07:32 +00:00
" Telescope
"Plug 'nvim-lua/popup.nvim'
"Plug 'nvim-lua/plenary.nvim'
"Plug 'nvim-telescope/telescope.nvim'
"Plug 'nvim-telescope/telescope-fzy-native.nvim'
2020-12-14 05:35:11 +00:00
call plug#end()
filetype plugin indent on
" Setup theme.
set t_Co=256
2021-03-13 13:01:31 +00:00
"colorscheme wal
2020-12-14 05:35:11 +00:00
2021-03-13 13:01:31 +00:00
" General
2020-12-31 15:59:16 +00:00
set textwidth=80
let mapleader = " "
set clipboard+=unnamed
2021-03-13 13:01:31 +00:00
set autoread
set backspace=indent,eol,start
set ignorecase
set smartcase
set incsearch
set magic
2020-12-14 05:35:11 +00:00
2021-03-13 13:01:31 +00:00
" Appearance
set number
set nowrap
set showbreak=
" toggle invisible characters
set list
2021-05-22 17:07:32 +00:00
"set listchars=tab:→\ ,eol:¬,trail:⋅,extends:,precedes:,space:·
2021-03-13 13:01:31 +00:00
set list
set ttyfast
2020-12-14 05:35:11 +00:00
2020-12-31 15:59:16 +00:00
" Leader keys
map <leader>e :bufdo e!<CR>
nnoremap <silent> <leader> :WhichKey '<Space>'<CR>
2020-12-14 05:35:11 +00:00
" Custom settings.
set mouse=a
set encoding=utf-8
set backspace=indent,eol,start
2020-12-31 15:59:16 +00:00
set timeoutlen=50
2020-12-14 05:35:11 +00:00
syntax on
set rnu