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
" Plugins {{{ | |
call plug#begin('/usr/local/etc/dotfiles/nvim/plugged') | |
Plug 'junegunn/vim-easy-align' | |
"TODO FIX LABELS | |
Plug 'fatih/vim-go', { 'for': 'go' } | |
Plug 'tomtom/tcomment_vim' | |
Plug 'haya14busa/incsearch.vim' | |
Plug 'benekastah/neomake' | |
Plug 'majutsushi/tagbar' | |
Plug 'tpope/vim-fugitive' |
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
nnoremap <silent> <leader>ws :call SudoWrite()<CR> | |
function! SudoWrite() | |
let undofile = fnameescape(substitute(expand("%:p"), "/", "%", "g")) | |
exec "wundo" . &undodir . "/" . undofile | |
execute ":write !sudo dd of=" . shellescape(@%, 1) | |
endfunction |
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
sourcing "init.vim" | |
line 1: set updatetime=1 | |
line 2: nnoremap <silent> <a-v> :vsplit term://$SHELL<CR> | |
line 3: nnoremap <silent> <c-g> :vs term://./neogo<CR> | |
finished sourcing init.vim | |
Searching for "plugin/**/*.vim" in "/usr/local/etc/dotfiles/nvim,/etc/xdg/nvim,/Users/nhooyr/.local/share/nvim/site,/usr/local/share/nvim/site,/usr/share/nvim/site,/usr/local/Cellar/neovim/HEAD/share/nvim/runtime,/usr/share/nvim/site/after,/usr/local/share/nvim/site/after,/Users/nhooyr/.local/share/nvim/site/after,/etc/xdg/nvim/after,/usr/local/etc/dotfiles/nvim/after" | |
Searching for "/usr/local/etc/dotfiles/nvim/plugin/**/*.vim" | |
Searching for "/etc/xdg/nvim/plugin/**/*.vim" | |
Searching for "/Users/nhooyr/.local/share/nvim/site/plugin/**/*.vim" |
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
sourcing "init.vim" | |
line 1: set updatetime=1 | |
line 2: nnoremap <silent> <a-v> :vsplit term://$SHELL<CR> | |
line 3: nnoremap <silent> <c-g> :vs term://./neogo<CR> | |
finished sourcing init.vim | |
Searching for "plugin/**/*.vim" in "/usr/local/etc/dotfiles/nvim,/etc/xdg/nvim,/Users/nhooyr/.local/share/nvim/site,/usr/local/share/nvim/site,/usr/share/nvim/site,/usr/local/Cellar/neovim/HEAD/share/nvim/runtime,/usr/share/nvim/site/after,/usr/local/share/nvim/site/after,/Users/nhooyr/.local/share/nvim/site/after,/etc/xdg/nvim/after,/usr/local/etc/dotfiles/nvim/after" | |
Searching for "/usr/local/etc/dotfiles/nvim/plugin/**/*.vim" | |
Searching for "/etc/xdg/nvim/plugin/**/*.vim" | |
Searching for "/Users/nhooyr/.local/share/nvim/site/plugin/**/*.vim" |
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
\pdfobjcompresslevel=0 | |
\documentclass[12pt]{article} | |
\setlength{\headheight}{15pt} | |
\usepackage{ifpdf} | |
\usepackage{mla} | |
\begin{document} | |
\begin{mla}{Anmol}{Sethi}{Blake}{ENG-2DR}{\today}{Jesus} | |
It's interesting to note the sjdsakl of the jesus mocking, the polymoprhism of x to y qudartic formula. What is more interesting repoting oasjdosdjosajodasdojassjsadjas | |
das | |
$x = y$ |
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
let page = substitute(a:str, '^\*\?\(\%([a-zA-Z_:0-9-]\%(\.\?[a-zA-Z_:0-9-]\)\?\)\+\).*$', '\1', '') |
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
colorscheme apprentice | |
highlight Type ctermfg=103 | |
highlight cssClassName ctermfg=6 | |
highlight cssClassNameDot ctermfg=6 | |
highlight link jsFuncCall Type | |
highlight cssBraces ctermfg=fg | |
highlight htmlLink ctermfg=fg | |
highlight Function ctermfg=182 | |
highlight MatchParen ctermfg=182 ctermbg=232 | |
highlight Constant ctermfg=210 |
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
colorscheme apprentice | |
highlight Type ctermfg=103 | |
highlight cssClassName ctermfg=6 | |
highlight cssClassNameDot ctermfg=6 | |
highlight link jsFuncCall Type | |
highlight cssBraces ctermfg=fg | |
highlight htmlLink ctermfg=fg | |
highlight Function ctermfg=182 | |
highlight MatchParen ctermfg=182 ctermbg=232 | |
highlight Constant ctermfg=210 |
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
function _nman | |
set page $argv[1..-2] #grab all arguments except for the last one | |
if [ -z "$page" ] | |
echo "What manual page do you want?" | |
return | |
end | |
set tmp $IFS | |
set IFS '\n' | |
set out (command man -w $page 2>&1) | |
set code $status |
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
function _nman | |
set page $argv[1..-2] #grab all arguments except for the last one | |
if [ -z "$page" ] | |
echo "What manual page do you want?" | |
return | |
end | |
set tmp $IFS | |
set IFS '\n' | |
set out (command man -w $page 2>&1) | |
set code $status |