about summary refs log blame commit diff stats
path: root/src/LYMap.h
blob: 7c0b9ffa022fa6e8db53c591238629679215ff91 (plain) (tree)




























                                                                      
/* $LynxId: LYMap.h,v 1.12 2010/09/25 11:35:42 tom Exp $ */
#ifndef LYMAP_H
#define LYMAP_H

#ifndef HTUTILS_H
#include <HTUtils.h>
#endif

#include <HTList.h>
#include <HTAnchor.h>

#ifdef __cplusplus
extern "C" {
#endif
    extern BOOL LYMapsOnly;

    extern void ImageMapList_free(HTList *list);
    extern void LYPrintImgMaps(FILE *fp);
    extern BOOL LYAddImageMap(char *address, char *title,
			      HTParentAnchor *node_anchor);
    extern BOOL LYAddMapElement(char *map, char *address, char *title,
				HTParentAnchor *node_anchor,
				int intern_flag);
    extern BOOL LYHaveImageMap(char *address);

#ifdef __cplusplus
}
#endif
#endif				/* LYMAP_H */
o start it. You should see 4 columns. The third is the directory where you are at the moment. To the left, there are the directories above the current working directory, and the column on the right is a preview of the selected file/directory. Now use the arrow keys to navigate, press enter to open a file. A list of commands with short descriptions can be viewed by pressing "?" inside the program and following the instructions. The file code/keys.rb contains all key combinations, so that's another place you may want to check out. More extensive documentation will be written when enough users ask me to :) Opening Files with Ranger ------------------------- If you use the same applications like me, you'll be able to open files by pressing the right arrow key. If not, you will have to specify them in ranger/defaults/apps.py. It's explained in the docstrings how exactly to do that. Once you've set up your applications, you can also use ranger to open files from the shell: ranger blabla.pdf Customizing Ranger ------------------ The file ranger/defaults/options.py contains most of the options. apps.py defines how files are run, keys.py defines keybindings. The files in ranger/defaults/ can be copied into ~/.ranger/ for per-user modifications. Colorschemes can be placed in ~/.ranger/colorschemes. The configuration files should be self-explanatory. If you need more information, check out the source code. Also, see the file HACKING for more detailed instructions on modifying the program.