Skip to content

Instantly share code, notes, and snippets.

View pastebin.lua
-- luacheck: globals vim
local format = string.format
local name = vim.buffer().fname
local temp_name = os.tmpname()
local temp =, "w+")
local content
local ext = (name:match("%.%w+$") or ".txt"):sub(2):lower()
local dictionary = {
sh = "bash",
ryanford / .vimrc
Last active Nov 16, 2020
My vimrc
View .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