Skip to content

Instantly share code, notes, and snippets.

-- luacheck: globals vim
local format = string.format
local name = vim.buffer().fname
local temp_name = os.tmpname()
local temp = io.open(temp_name, "w+")
local content
local ext = (name:match("%.%w+$") or ".txt"):sub(2):lower()
local dictionary = {
sh = "bash",
@ryanford
ryanford / .vimrc
Last active November 16, 2020 09:41
My vimrc
execute pathogen#infect()
syntax on
filetype plugin indent on
set nobackup
set nowritebackup
set noswapfile
set undofile
set undolevels=500
set undodir=~/.vim/_undo