This file contains hidden or 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
vim.api.nvim_create_user_command( | |
'Inv', | |
function(opts) | |
vim.cmd('new') | |
vim.cmd('term inv ' .. opts.args) | |
vim.cmd('startinsert') | |
end, | |
{ | |
nargs = "*", -- Allow optional arguments | |
desc = "Run 'inv' with the specified arguments in a new terminal", |
This file contains hidden or 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
#!/usr/bin/perl | |
use IO::Socket; | |
use Text::Wrap; | |
$ip = shift || die "$0 <ip address or name> [display columns] [display rows]"; | |
$columns=20; | |
$columns = shift; | |
$rows=4; | |
$rows = shift; |
This file contains hidden or 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
export LS_OPTIONS='--color=auto' | |
eval "`dircolors`" | |
alias ls='ls $LS_OPTIONS' | |
alias ll='ls $LS_OPTIONS -l' | |
alias l='ls $LS_OPTIONS -lA' | |
alias rm='rm -i' | |
alias cp='cp -i' | |
alias mv='mv -i' |
This file contains hidden or 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
" install pathogen plugin (https://github.com/tpope/vim-pathogen) | |
" cd %USERPROFILE%; mkdir vimfiles; cd vimfiles; mkdir bundle; cd bundle | |
" git clone git://github.com/scrooloose/nerdtree.git | |
" git clone git://github.com/dantler/vim-alternate.git | |
" git clone git://github.com/ervandew/supertab.git | |
" git clone git://github.com/vim-scripts/Wombat.git | |
" Pathogen | |
call pathogen#infect() | |
call pathogen#helptags() |