This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execute pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
set nobackup | |
set nowritebackup | |
set noswapfile | |
set undofile | |
set undolevels=500 | |
set undodir=~/.vim/_undo |