FollieHiyuki-dotfiles/home/.config/nvim/general/basic-settings.vim

54 lines
1.1 KiB
VimL
Raw Normal View History

2021-02-13 11:28:59 -05:00
syntax on
filetype indent plugin on
if &term =~ '256color'
set t_ut=
endif
if has('termguicolors')
set termguicolors
else
set t_Co=256
endif
set background=dark
set guifont=Iosevka\ Nerd\ Font
set noerrorbells
set noshowmode
set encoding=utf-8
set fileencoding=utf-8
2021-03-12 17:20:35 -05:00
" set iskeyword+=- " treat - as part of a word
2021-02-13 11:28:59 -05:00
set formatoptions-=cro
set clipboard+=unnamedplus
set number relativenumber
" set cursorline
2021-06-13 06:52:07 -04:00
set tabstop=4 softtabstop=4 " 4 spaces for 1 tab
set shiftwidth=4 " 4 spaces for 1 indent
2021-02-13 11:28:59 -05:00
set smarttab
set expandtab " convert tabs to spaces
set smartindent
set autoindent
set splitbelow splitright
set nowrap
set whichwrap+=<,>,[,] ",h,l " wrap lines on h,l,arrows
set mouse=a
set ignorecase smartcase
set incsearch nohlsearch
set laststatus=2
set ruler
set noswapfile
set showtabline=2
set conceallevel=1
set pumheight=12 " height for completion box
set wildmenu
set wildmode=full
" POSIX compatible (bash is not truly ideal but ...)
if &shell =~# 'fish$'
set shell=bash
endif
" Search files recursively
set path=.,,**
let mapleader = "\<Space>"
let g:netrw_banner = 0
let g:python3_host_prog = '/usr/bin/python3'