hirc

[archived] IRC client
git clone https://hhvn.uk/hirc
git clone git://hhvn.uk/hirc
Log | Files | Refs

example.hirc (2609B)


      1 If you are using vim or forks thereof, a syntax file and an ftdetect file are
      2 included in hirc's repository under vim/, install these to .vim or .config/nvim
      3 to get syntax highlighting in this file.
      4 
      5 hirc config files will ignore any messages that do not begin with '/', so this
      6 is therefore a comment.
      7 
      8 When hirc is run with a config file as an argument, or the /source command
      9 is used, it will execute all commands contained in the file as though they
     10 were typed into the input (some output is suppressed). As such, there is
     11 no /reload command, as commands a user may not wish to run multiple times
     12 will be. A /source command does however exist, so it is conceivable that
     13 commands such as /set that are safe to run multiple times could be placed
     14 in their own file, and an alias could be created to source that file.
     15 
     16 hirc does not parse the config file, it only evaluates each line. This means
     17 that it has no concept of how the config file is layed out or wether commands
     18 will do the same thing if they are formatted differently. Therefore, there is
     19 no /save either. The /dump command will attempt to print out a configuration
     20 file that represents the current state of the client, but it is not aware of
     21 things such as: comments; formatting and order of commands; or where commands
     22 were sourced from. It is recommended that you NEVER use /dump to write to any
     23 existing config files, but instead write to a temporary file and manually
     24 review it.
     25 
     26 If you would like a config file containing all the defaults, start hirc without
     27 a config file, and use /dump -defaults <file>
     28 
     29 More information on commands and configuration is available via /help. The
     30 hirc(1) manpage also contains all the information that is provided via /help,
     31 plus some extra high-level information.
     32 
     33 Network connections
     34 /connect -network hlircnet -tls irc.hlirc.net 6697
     35 /server -auto hlircnet /join #hirc
     36 
     37 Aliases
     38 /alias /back /away
     39 /alias /unignore /ignore -delete
     40 /alias /unbind /bind -delete
     41 /alias /unalias /alias -delete
     42 
     43 Keybindings
     44 /bind ^K /scroll -20
     45 /bind ^J /scroll 20
     46 /bind ^[0 /select 10
     47 /bind ^[9 /select 9
     48 /bind ^[8 /select 8
     49 /bind ^[7 /select 7
     50 /bind ^[6 /select 6
     51 /bind ^[5 /select 5
     52 /bind ^[4 /select 4
     53 /bind ^[3 /select 3
     54 /bind ^[2 /select 2
     55 /bind ^[1 /select 1
     56 
     57 Configuration variables
     58 /set def.nick nick
     59 /set def.user user
     60 /set def.real did not read example.hirc
     61 
     62 UI too cluttered?
     63  /set nicklist.location hidden
     64  /set buflist.location hidden
     65 
     66 Prefer plain nicks?
     67  /set nickcolor.self 99
     68  /set nickcolor.range 99 99
     69 
     70 Don't like seeing joins/parts/quits?
     71  /server hlircnet /ignore -E -server ^:[^ ]* (JOIN|PART|QUIT).*