<commit_before>set background=dark
set expandtab
set linebreak
set noswapfile
set number
set ruler
set shiftwidth=2
set smartindent
set tabstop=2

syntax on
colorscheme base16-tomorrow

" Make cursor navigation aware of visible line-wrap.
map       j           gj
map       k           gk
map       <Down>      gj
imap      <Down>      <C-O>gj
map       <Up>        gk
imap      <Up>        <C-O>gk
map       <Home>      g0
imap      <Home>      <C-O>g0
map       <End>       g$
imap      <End>       <C-O>g$

" Reset highlighted search terms on return.
nnoremap  <CR>        :nohlsearch<CR>/<BS><CR>

" Configure key bindings.
inoremap  jk          <Esc>
map!      <S-Insert>  <MiddleMouse>
nmap      t           :tabnew<Space>

" Restore the cursor to the last known position when opening a file.
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif

" Enable true color support for theming.
let $NVIM_TUI_ENABLE_TRUE_COLOR=1<commit_msg>nvim: Always show tabs, stop highlighting after search<commit_after>set background=dark
set expandtab
set linebreak
set nohlsearch
set noswapfile
set number
set ruler
set shiftwidth=2
set showtabline=2
set smartindent
set tabstop=2

syntax on
colorscheme base16-tomorrow

" Make cursor navigation aware of visible line-wrap.
map       j           gj
map       k           gk
map       <Down>      gj
imap      <Down>      <C-O>gj
map       <Up>        gk
imap      <Up>        <C-O>gk
map       <Home>      g0
imap      <Home>      <C-O>g0
map       <End>       g$
imap      <End>       <C-O>g$

" Reset highlighted search terms on return.
nnoremap  <CR>        :nohlsearch<CR>/<BS><CR>

" Configure key bindings.
inoremap  jk          <Esc>
map!      <S-Insert>  <MiddleMouse>
nmap      t           :tabnew<Space>

" Restore the cursor to the last known position when opening a file.
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif

" Enable true color support for theming.
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
{'fraction_non_alphanumeric': 0.10383858267716535, 'fraction_numerical': 0.008366141732283465, 'mean_word_length': 2.279032258064516, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3570099', 'n_tokens_mistral': 723, 'n_tokens_neox': 700, 'n_words': 232}