https://github.com/daijiang/dotfiles

https://github.com/daijiang/dotfiles

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.6%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: daijiang
  • Language: Vim script
  • Default Branch: master
  • Size: 1000 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 12 years ago · Last pushed over 8 years ago

https://github.com/daijiang/dotfiles/blob/master/

dotfiles
========
My setting files. Not ready for others but you are welcome to tweak them for your own use.

When you want to update your setting, just `git pull` first and then run `bash symbollinks.sh`.

## vim
#### Install
`sudo apt-get install vim vim-gtk` to install full version of vim and Gvim.  
`git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim` to install Vundle for package management.  
Then run `bash symbollink.sh`  to install vimrc.  
Then in Vim, `:PluginInstall` to install all packages.

- `,vs` to see white spaces.
- `,ev`  to open vimrc.
- `,s` to save the file.
- `,T` to insert current date and time.
- `/` to search.
- `,space`  to clear search.
- `,V` to switch to attraction-free (goyo pkg)
- `,L` to highlight only current line.

- citations: in insert mode, type `@author` then `C-x C-o` to get suggestions about keys, then use arrow key to navigate.
- easymotion: `,,w` to move to any word.

## Zotero set up: 

1. install: https://github.com/smathot/zotero_installer (will be done with reinstall.sh)
2. link with Dropbox:   ln -s ~/Dropbox/zotero/storage ~/.zotero/zotero/*.default/zotero/storage
3. Zotero preference
	- General: uncheck auto take snapshot; ubcheck auto tag items  
	- Sync: uncheck sync attachments files in my library using zotero  
	- Advanced--files and folders--linked attachment base directory: set to Dropbox/zotero/storage
	- install add-ons from Dropbox/zotero-addons: Tools--addons--install addons from file
4. zotfile preference:
	- format rename: {%a_}{%y_}{%j_}{%t}  
	- change to lower case;
	- make sure in general setting, check "attach stored copy of files".
5. lyz setting: lyx serve: add ~/.lyxpipe  
6. install Qnotero, then open its preferences, set zotero folder to ~/.zotero/zotero/*.default/zotero . To set a shortcut, open system setting of the computer, then -- keyboard -- shortcuts--custom shortcues, command is qnotero, set shortcut as alt+q

## Pandoc path
~~After install Pandoc with cabal, `cp ~/.cabal/bin/pandoc /usr/bin/pandoc` and `cp ~/.cabal/bin/pandoc-citeproc /usr/bin/pandoc-citeproc`.~~

Instead, we can just use the Pandoc shipped with Rstudio: 

	sudo ln -s /usr/lib/rstudio/bin/pandoc/pandoc /usr/local/bin
	sudo ln -s /usr/lib/rstudio/bin/pandoc/pandoc-citeproc /usr/local/bin


## snippet in snipMate

	snippet postrcode
		{% highlight r%}
		${1}
		{% endhighlight %}

	snippet postheader
		---
		layout: post
		title:  ${1}
		categories: [${2:notes}]
		tags: [${3}]
		---
		${4}

## default.bib in ~/.pandoc
If you do not have `.pandoc` folder in your home, create one. Then put your bib file there. In zotero, I use [AutoZotBib](http://www.rtwilson.com/academic/autozotbib) to do this. In the autozotbib reference, define the path as `~/.pandoc/default.bib`.

## my tweak theme in oh-my-zsh


Owner

  • Name: Daijiang Li
  • Login: daijiang
  • Kind: user
  • Location: Baton Rouge, LA

GitHub Events

Total
Last Year

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 51
  • Total Committers: 2
  • Avg Commits per committer: 25.5
  • Development Distribution Score (DDS): 0.059
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
daijiang d****e@g****m 48
Daijiang Li d****1@u****u 3
Committer Domains (Top 20 + Academic)
ufl.edu: 1

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels