It is an alternative for Listary in Linux.
- more flexible vim-mode shortcuts
- ALT+a: Pull down(up) the window
- TAB: Shift between Command Textbox and the Listbox
- RETURN: Run the selected item
- CTRL+a: Move to the head of line
- CTRL+e: Move to the end of line
- CTRL+A: Select all
- j: Down
- k: Up
- d: Pagedown
- u: Pageup
- H: Goto the first item on display
- L: Goto the last item on display
- ESCAPE: Focus the Command Textbox
SymP includes several types of commands as follow.
- User program
- User files
- User websites
- Files and directories
- Files modified recently
- Calculator
Exmaple:
1+sin(pi/6)
,sum(range(101))
The main default configure file is ~/.symp_config
. All configure files use the JSON format.
autoupdateprograms = False
Whether update the userprogramsdata
if run a new program
userfilepath = os.getenv('HOME')+"/.symp_userfile"
The path stores the userfile
defaulteditor = "gvim"
The default editor
program2file = {'.jpg':"eog '%s'", '.pdf':"evince '%s'", '.png':"eog '%s'", '.tex':"gvim %s", '.mp4':"smplayer %s" }
The programs used to open the corresponding formats of files
searchengine = {"name":"GOOGLE", "url": "http://www.google.com/search?hl=&q=%s&btnG=Google+Search&inurl=https"}
The search engine
browser = "firefox '%s'"
The command of browser used to open an URL
searchroot = os.path.expanduser("~/")
The path used to search files and directoies
prettypath = 0
prettypath controls names of folders displayed in the listbox.
If prettypath == 0, show the original name
If not, when the length of the folder name is morethan prettypath,
replace characters beyond the first prettypath with '*'
For example, if prettypath == 3, then the /usr/local/texlive/2015/release-texlive.txt
is shown as /usr/loc*/tex*/2015/release-texlive.txt
.