 					; Set default directory for fzf to ~/
 (defun find-file-from-home ()
   (interactive)
-  (let ((default-directory "~"))
+  (let ((default-directory "~/"))
     (call-interactively 'fzf)))
 
+(defun sidebar-ms ()
+  (interactive)
+  (dired-sidebar-toggle-sidebar "/mnt/c/Users/natha/Documents"))
+
 (use-package dired-sidebar
   :ensure t
+  :config
+  (setq dired-sidebar-close-sidebar-on-file-open 't
+	dired-sidebar-pop-to-sidebar-on-toggle-open 't)
+  (setq dired-sidebar-one-instance-p 1) ; Only keep one buffer for sidebar
+  (define-key dired-sidebar-mode-map (kbd "RET") 'dired-find-alternate-file)
+  (define-key dired-sidebar-mode-map (kbd "^") 'dired-sidebar-up-directory)
   :commands (dired-sidebar-toggle-sidebar))
 
-; Yaml
+					; Yaml
 (use-package yaml-mode)
 
 					; Python

  :config
  (add-hook 'pdf-view-mode-hook 'pdf-view-restore-mode))

					; Org
(use-package org
  :config

(setq-default explicit-shell-file-name "/bin/bash")
(setq-default shell-file-name "/bin/bash")
(add-to-list 'default-frame-alist '(fullscreen . maximized))
(setq completion-ignore-case t)
(setq read-file-name-completion-ignore-case t)

(setq display-line-numbers-type 'relative)
(global-display-line-numbers-mode 1)
(global-hl-line-mode t)
(set-default-coding-systems 'utf-8)
