" Configure UI {
  " Use 24bit colors
  if (has("termguicolors"))
    set termguicolors
  endif

  " Theming
  set background=dark                            " Use dark variant of theme
  let g:one_allow_italics = 1                    " Allow italics in comments etc.
  colorscheme one                                " Set theme

  " Misc settings
  set linespace=0                                " No extra spaces between rows
  set number                                     " Line numbers on
  set showmatch                                  " Show matching brackets/parenthesis
  set winminheight=0                             " Windows can be 0 line high
  set whichwrap=b,s,h,l,<,>,[,]                  " Backspace and cursor keys wrap too
  set list                                       " Display whitespace
  set listchars=tab:›\ ,trail:•,extends:#,nbsp:. " Set whitespace symbols
  set foldenable                                 " Enable code folding
  set cursorline                                 " Highlight current line

  " Status line
  set laststatus=2                               " Always show the status line

  " Search
  set incsearch                                  " Find as you type search
  set hlsearch                                   " Highlight search terms
  set ignorecase                                 " Case insensitive search
  set smartcase                                  " Case sensitive when uc present

  " Splits
  set splitright                                 " Puts new vsplit windows to the right of the current
  set splitbelow                                 " Puts new split windows to the bottom of the current

  " Completion
  set completeopt=menu
" }

" Configure UI {
  " Use 24bit colors
  if (has("termguicolors"))
    set termguicolors
  endif

  " Theming
  set background=dark                            " Use dark variant of theme
  let g:one_allow_italics = 1                    " Allow italics in comments etc.
  colorscheme one                                " Set theme

  " Misc settings
  set linespace=0                                " No extra spaces between rows
  set number                                     " Line numbers on
  set showmatch                                  " Show matching brackets/parenthesis
  set winminheight=0                             " Windows can be 0 line high
  set whichwrap=b,s,h,l,<,>,[,]                  " Backspace and cursor keys wrap too
  set list                                       " Display whitespace
  set listchars=tab:›\ ,trail:•,extends:#,nbsp:. " Set whitespace symbols
  set foldenable                                 " Enable code folding
  set nocursorline                               " Highlight current line

  " Status line
  set laststatus=2                               " Always show the status line

  " Search
  set incsearch                                  " Find as you type search
  set hlsearch                                   " Highlight search terms
  set ignorecase                                 " Case insensitive search
  set smartcase                                  " Case sensitive when uc present

  " Splits
  set splitright                                 " Puts new vsplit windows to the right of the current
  set splitbelow                                 " Puts new split windows to the bottom of the current

  " Completion
  set completeopt=menu
" }

Disable cursorline for better performance.
Disable cursorline for better performance.

felixjung/dotfiles,felixjung/dotfiles