Skip to content

Commit

Permalink
Python IDE
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazen committed Jan 11, 2019
1 parent 7aba168 commit 99f630f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 26 deletions.
29 changes: 4 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Run 'all' as a parameter to setup everything; otherwise specify which dot file t
# Vim

Shortcuts:
* C-A - Autocomplete
* C-N - Toggle Nerdtree
* C-P - ctrlp (default workdir is ~/Workspace)
* C-T - Open new tab
Expand All @@ -31,7 +32,7 @@ Shortcuts:
* C-D - Open sqlite3 tab
* C-F - Fold
* C-R - Compile/run, output into tooltip window (c/c++/python/shell/golang/asm)
* C-L - Lint file. Supported filetypes: spec, ruby, puppet, javascript and python.
* C-L - Lint file. Supported filetypes: spec, ruby, javascript and python.
* C-G - Tagbar toggle
* vv - Open vertical split
* ss - Open split
Expand Down Expand Up @@ -59,6 +60,8 @@ Shortcuts:
* \n - Jedi usages
* \k - Jedi pydoc
* \t - Golang autocompletion
* \r - Run python code
* \b - Set python breakpoint

Other useful tips:
* :Gstatus - Git status
Expand All @@ -71,7 +74,6 @@ Other useful tips:
* :ServerStart <vagrantlab box name> - Start VM in vagrantlab
* :ServerStop <vagrantlab box name> - Stop VM in vagrantlab
* \<Space\> mapped to @q; Record macro to 'q' register and execute with \<Space\> (Default is comment line with #)
* \<Tab\> autcomplete


# Bash
Expand Down Expand Up @@ -116,29 +118,6 @@ Git aliases:
* greset - git reset
* gst - git stash

JBoss control script (Make sure to set $JBOSS_HOME variable):
jbctl (command) <arguments>
* jbctl version - Check version
* jbctl hist - CLI history
* jbctl cmd - Open CLI
* jbctl start - Start JBoss
* jbctl stop - Stop JBoss
* jbctl restart - Restart JBoss
* jbctl home - Display JBoss home
* jbctl lssnap - Display snaps
* jbctl tksnap - Take snapshot
* jbctl rmsnap (snapshot name) - Delete snap
* jbctl lsdeploy (servergroup name) - Display deployments
* jbctl deploy (artifact, servergroup name) - Deploy artifact
* jbctl undeploy (artifact) - Undeploy artifact
* jbctl less - Open log in less
* jbctl tail - Tail -f log
* jbctl status - Check running state
* jbctl lsservers - List servers in domain
* jbctl phist (server name) - Show patch history
* jbctl sgrestart (servergroup name) - Restart a server group


Other aliases:
* ll - ls -l
* la - ls -la
Expand Down
1 change: 0 additions & 1 deletion aliases
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ alias xpaste='xclip -o'
title() {
echo -ne "\e]0;$1\a"
}
}
alias ll='ls -l'
alias la='ls -la'
alias lh='ls -lh'
Expand Down
13 changes: 13 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@ Plugin 'mdempsky/gocode', {'rtp': 'vim/'}
Plugin 'davidhalter/jedi-vim'
Plugin 'vim-ruby/vim-ruby'
Plugin 'ClockworkNet/vim-junos-syntax'
Plugin 'Xuyuanp/nerdtree-git-plugin'
Plugin 'fisadev/FixedTaskList.vim'
Plugin 'Shougo/deoplete.nvim'
Plugin 'roxma/nvim-yarp'
Plugin 'roxma/vim-hug-neovim-rpc'
Plugin 'klen/python-mode'
Plugin 'mitsuhiko/vim-jinja'
Plugin 'jmcantrell/vim-virtualenv'
Plugin 'mbbill/undotree'

set background=dark
colorscheme dante
Expand Down Expand Up @@ -106,6 +115,10 @@ let g:go_highlight_fields = 1
let g:go_highlight_functions = 1
let g:go_version_warning = 0

let g:deoplete#enable_at_startup = 1

let g:pymode_options_colorcolumn = 0

nmap <C-N> :NERDTreeToggle<CR>
nmap <C-W> :tabprevious<CR>
nmap <C-E> :tabnext<CR>
Expand Down

0 comments on commit 99f630f

Please sign in to comment.