<commit_before>set ai
set tabstop=4
set ic
set shiftwidth=4
set expandtab

set nocompatible              " be iMproved, required
filetype off                  " required

call plug#begin('~/.local/share/nvim/plugged')


Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-surround'
Plug 'rust-lang/rust.vim'
Plug 'nvie/vim-flake8'
Plug 'jceb/vim-orgmode'
Plug 'editorconfig/editorconfig-vim'
Plug 'tpope/vim-speeddating'
Plug 'fatih/vim-go'
Plug 'simeji/winresizer'
Plug 'w0rp/ale'
Plug 'tpope/vim-commentary'
Plug 'junegunn/fzf'
Plug 'junegunn/fzf.vim'
Plug 'mileszs/ack.vim'

call plug#end()

let &runtimepath.=',~/.config/nvim/bundle/ale'

filetype plugin indent on
syntax enable

set termguicolors
set background=dark

let g:pysmell_matcher='camel-case'
let g:rbpt_max = 16
let g:winresizer_enable = 1
let g:ale_sign_column_always = 1
let g:ale_statusline_format = ['⨉ %d', '⚠ %d', '⬥ ok']

let mapleader=','
let maplocalleader=','

map <F2> <Esc>:1,$!xmllint --format -<CR>
map <F3> <Esc>i# -*- coding: utf-8 -*-<Esc>

set statusline=%t%m%r\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [line=%l\ of\ %L]\ [col=%v]\ \[%{fugitive#head()}]\ \[%{ALEGetStatusLine()}]
set laststatus=2

au FileType xml exe ":silent 1,$!xmllint --format --recover - 2>/dev/null"

function! InsertLine()
    let trace = expand("import pdb; pdb.set_trace()")
        execute "normal o".trace
endfunction
map <Leader>i :call InsertLine()<CR>

let g:ackprg = 'rg --vimgrep --no-heading'<commit_msg>Ability to insert both pdb and ipdb<commit_after>set ai
set tabstop=4
set ic
set shiftwidth=4
set expandtab

set nocompatible              " be iMproved, required
filetype off                  " required

call plug#begin('~/.local/share/nvim/plugged')


Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-surround'
Plug 'rust-lang/rust.vim'
Plug 'nvie/vim-flake8'
Plug 'jceb/vim-orgmode'
Plug 'editorconfig/editorconfig-vim'
Plug 'tpope/vim-speeddating'
Plug 'fatih/vim-go'
Plug 'simeji/winresizer'
Plug 'w0rp/ale'
Plug 'tpope/vim-commentary'
Plug 'junegunn/fzf'
Plug 'junegunn/fzf.vim'
Plug 'mileszs/ack.vim'

call plug#end()

let &runtimepath.=',~/.config/nvim/bundle/ale'

filetype plugin indent on
syntax enable

set termguicolors
set background=dark

let g:pysmell_matcher='camel-case'
let g:rbpt_max = 16
let g:winresizer_enable = 1
let g:ale_sign_column_always = 1
let g:ale_statusline_format = ['⨉ %d', '⚠ %d', '⬥ ok']

let mapleader=','
let maplocalleader=','

map <F2> <Esc>:1,$!xmllint --format -<CR>
map <F3> <Esc>i# -*- coding: utf-8 -*-<Esc>

set statusline=%t%m%r\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [line=%l\ of\ %L]\ [col=%v]\ \[%{fugitive#head()}]\ \[%{ALEGetStatusLine()}]
set laststatus=2

au FileType xml exe ":silent 1,$!xmllint --format --recover - 2>/dev/null"

function! InsertPdb()
    let trace = expand("import pdb; pdb.set_trace()")
        execute "normal o".trace
endfunction
map <Leader>i :call InsertIPdb()<CR>
function! InsertIPdb()
    let trace = expand("import ipdb; ipdb.set_trace()")
        execute "normal o".trace
endfunction
map <Leader>j :call InsertIPdb()<CR>

let g:ackprg = 'rg --vimgrep --no-heading'
{'fraction_non_alphanumeric': 0.16807268007787152, 'fraction_numerical': 0.00973393900064893, 'mean_word_length': 4.288164665523156, 'pattern_counts': {'":': 2, '<': 21, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '174229', 'n_tokens_mistral': 1317, 'n_tokens_neox': 1232, 'n_words': 294}