<commit_before>local opt = vim.opt
local cmd = vim.cmd
local g = vim.g
local fn = vim.fn
local api = vim.api
local map = require('utils').map

local plugLoad = fn['functions#PlugLoad']
local plugBegin = fn['plug#begin']
local plugEnd = fn['plug#end']

plugLoad()
-- cmd('call functions#PlugLoad()')
plugBegin('~/.config/nvim/plugged')

-- NOTE: the argument passed to Plug has to be wrapped with single-quotes

-- easy commenting
cmd [[Plug 'tpope/vim-commentary']]

-- mappings to easily delete, change and add such surroundings in pairs, such as quotes, parens, etc.
cmd [[Plug 'tpope/vim-surround']]

-- endings for html, xml, etc. - ehances surround
cmd [[Plug 'tpope/vim-ragtag']]

-- enables repeating other supported plugins with the . command
cmd [[Plug 'tpope/vim-repeat']]

-- single/multi line code handler: gS - split one line into multiple, gJ - combine multiple lines into one
cmd [[Plug 'AndrewRadev/splitjoin.vim']]

-- detect indent style (tabs vs. spaces)
cmd [[Plug 'tpope/vim-sleuth']]

-- Startify: Fancy startup screen for vim {{{
cmd "Plug 'mhinz/vim-startify'"
g.startify_files_number = 10
g.startify_change_to_dir = 0
g.ascii = {
  [[          ____                                         ]],
  [[         /___/\_                                       ]],
  [[        _\   \/_/\__                     __            ]],
  [[      __\       \/_/\            .--.--.|__|.--.--.--. ]],
  [[      \   __    __ \ \           |  |  ||  ||        | ]],
  [[     __\  \_\   \_\ \ \   __      \___/ |__||__|__|__| ]],
  [[    /_/\\   __   __  \ \_/_/\                          ]],
  [[    \_\/_\__\/\__\/\__\/_\_\/                          ]],
  [[       \_\/_/\       /_\_\/                            ]],
  [[          \_\/       \_\/                              ]]
}

-- g.startify_custom_header = 'startify#center(g:ascii)'
g.startify_custom_header = g.ascii
g.startify_relative_path  = 1
startify_use_env = 1

g.startify_lists = {
    { type = 'dir', header = { 'Recent Files ' } },
    { type = 'sessions',  header = { 'Sessions' }       },
    { type = 'bookmarks', header = { 'Bookmarks' }      },
    { type = 'commands',  header = { 'Commands' }       },
}

g.startify_commands = {
    { up = { 'Update Plugins', ':PlugUpdate' }},<commit_msg>chore(vim): more cleanup<commit_after>local opt = vim.opt
local cmd = vim.cmd
local g = vim.g
local fn = vim.fn
local api = vim.api
local map = require('utils').map

local plugLoad = fn['functions#PlugLoad']
local plugBegin = fn['plug#begin']
local plugEnd = fn['plug#end']

plugLoad()
-- cmd('call functions#PlugLoad()')
plugBegin('~/.config/nvim/plugged')

-- NOTE: the argument passed to Plug has to be wrapped with single-quotes

-- easy commenting
cmd [[Plug 'tpope/vim-commentary']]

-- mappings to easily delete, change and add such surroundings in pairs, such as quotes, parens, etc.
cmd [[Plug 'tpope/vim-surround']]

-- endings for html, xml, etc. - ehances surround
cmd [[Plug 'tpope/vim-ragtag']]

-- enables repeating other supported plugins with the . command
cmd [[Plug 'tpope/vim-repeat']]

-- single/multi line code handler: gS - split one line into multiple, gJ - combine multiple lines into one
cmd [[Plug 'AndrewRadev/splitjoin.vim']]

-- detect indent style (tabs vs. spaces)
cmd [[Plug 'tpope/vim-sleuth']]

-- Startify: Fancy startup screen for vim {{{
cmd "Plug 'mhinz/vim-startify'"
g.startify_files_number = 10
g.startify_change_to_dir = 0
local ascii = {
  [[          ____                                         ]],
  [[         /___/\_                                       ]],
  [[        _\   \/_/\__                     __            ]],
  [[      __\       \/_/\            .--.--.|__|.--.--.--. ]],
  [[      \   __    __ \ \           |  |  ||  ||        | ]],
  [[     __\  \_\   \_\ \ \   __      \___/ |__||__|__|__| ]],
  [[    /_/\\   __   __  \ \_/_/\                          ]],
  [[    \_\/_\__\/\__\/\__\/_\_\/                          ]],
  [[       \_\/_/\       /_\_\/                            ]],
  [[          \_\/       \_\/                              ]]
}

-- g.startify_custom_header = 'startify#center(g:ascii)'
g.startify_custom_header = ascii
g.startify_relative_path  = 1
g.startify_use_env = 1

g.startify_lists = {
    { type = 'dir', header = { 'Recent Files ' } },
    { type = 'sessions',  header = { 'Sessions' }       },
    { type = 'bookmarks', header = { 'Bookmarks' }      },
    { type = 'commands',  header = { 'Commands' }       },
}

g.startify_commands = {
    { up = { 'Update Plugins', ':PlugUpdate' }},
{'fraction_non_alphanumeric': 0.17051197539002416, 'fraction_numerical': 0.002197319270490002, 'mean_word_length': 1.6918982850384388, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3799565', 'n_tokens_mistral': 1575, 'n_tokens_neox': 1471, 'n_words': 325}